From 3cea832f5e596dadd5a537b3590f16aed170b98e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 20 Aug 2024 06:53:53 +0200 Subject: [PATCH] In workflows, modernise the actions that are used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actions/checkout@v2 → actions/checkout@v4 actions/upload-artifact@v3 → actions/upload-artifact@v4 This will reduce the amount of warnings in the workflow summary. --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68f444e2..39342f61 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,13 +17,13 @@ jobs: runs-on: ubuntu-20.04 container: texlive/texlive:latest-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: generate PDF run: | make docs cp doc/crypt.pdf crypt-${{ github.run_id }}.pdf - name: upload PDF - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: crypt-${{ github.run_id }}.pdf path: crypt-${{ github.run_id }}.pdf @@ -53,7 +53,7 @@ jobs: - { BUILDNAME: 'STOCK+ARGTYPE=3', BUILDOPTIONS: '-DARGTYPE=3', BUILDSCRIPT: '.ci/run.sh' } - { BUILDNAME: 'STOCK+ARGTYPE=4', BUILDOPTIONS: '-DARGTYPE=4', BUILDSCRIPT: '.ci/run.sh' } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install dependencies run: | sudo apt-get update -qq @@ -89,7 +89,7 @@ jobs: tar cJf build-${{ github.run_id }}.tar.xz --exclude ./build-${{ github.run_id }}.tar.xz . - name: upload Artifact if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-${{ github.run_id }}.tar.xz path: build-${{ github.run_id }}.tar.xz