From 96192fe3c9483c3b75a9c890cacc92878fa89db5 Mon Sep 17 00:00:00 2001 From: Ivan Velickovic Date: Mon, 5 Feb 2024 11:17:02 +1100 Subject: [PATCH] ci: update deprecated GitHub action versions --- .github/workflows/ci.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 74f1da62..b42f1279 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Nix - uses: cachix/install-nix-action@v22 + uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable - name: Create nix-shell and build PDF run: nix-shell --pure -p texlive.combined.scheme-full pandoc librsvg --run "cd docs && pandoc MANUAL.md -o MANUAL.pdf" - name: Upload manual PDF - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: MANUAL path: docs/MANUAL.pdf @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Download Microkit SDK @@ -52,7 +52,7 @@ jobs: run: ./ci/examples.sh ${PWD}/microkit-sdk-1.2.6 shell: bash - name: Upload built system images - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: # @ivanv: this needs to be fixed for the restructure path: build_*/loader.img @@ -61,7 +61,7 @@ jobs: runs-on: macos-12 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Download Microkit SDK @@ -85,7 +85,7 @@ jobs: run: ./ci/examples.sh ${PWD}/microkit-sdk-1.2.6 shell: bash - name: Upload built system images - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: build_*/loader.img build_linux_x86_64_nix: @@ -93,7 +93,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Download Microkit SDK @@ -102,13 +102,13 @@ jobs: - name: Extract Microkit SDK run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz - name: Install Nix - uses: cachix/install-nix-action@v22 + uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable - name: Build and run examples run: nix-shell --pure --run "./ci/examples.sh ${PWD}/microkit-sdk-1.2.6" - name: Upload built system images - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: build_*/loader.img build_macos_x86_64_nix: @@ -116,7 +116,7 @@ jobs: runs-on: macos-12 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Download Microkit SDK @@ -125,7 +125,7 @@ jobs: - name: Extract Microkit SDK run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz - name: Install Nix - uses: cachix/install-nix-action@v22 + uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable - name: Update Nix channel @@ -133,6 +133,6 @@ jobs: - name: Build and run examples run: nix-shell --pure --run "./ci/examples.sh ${PWD}/microkit-sdk-1.2.6" - name: Upload built system images - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: build_*/loader.img