From 6898293464c18db6364fd530302acaba1f0bfdeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Thu, 31 Aug 2023 15:38:21 +0200 Subject: [PATCH] Fix GitHub Action warning. By moving to actions/checkout@v3, actions/download-artifact@v3 and actions/upload-artifact@v3. --- .github/workflows/macos.yml | 12 ++++++------ .github/workflows/ubuntu.yml | 12 ++++++------ .github/workflows/ubuntu_dev.yml | 4 ++-- .github/workflows/windows.yml | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b815d3fc88..a7ce4bcf6f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,7 +55,7 @@ jobs: steps: - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set PLATFORM if: ${{ github.event.inputs.platform != '' }} @@ -97,7 +97,7 @@ jobs: shell_scripts/create_smoke_test_kit.sh - name: 'Upload smoke test kit' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Smoke Test Kit Macos ${{matrix.variant}}' path: smoke-test-kit/ @@ -116,14 +116,14 @@ jobs: macos/create_installer_macos.sh - name: 'Upload DMG script logs on failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: 'DMG script error logs ${{matrix.variant}}' path: macos_installer/logs/ - name: 'Upload Artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Macos installer ${{matrix.variant}} x86_64' path: macos_installer/Coq-Platform-*.dmg @@ -145,13 +145,13 @@ jobs: run: brew install bash - name: 'Download Artifact' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download with: name: 'Macos installer ${{matrix.variant}} x86_64' - name: 'Download smoke test kit' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download-smoke with: name: 'Smoke Test Kit Macos ${{matrix.variant}}' diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 30f31cbd93..7977cd7003 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set PLATFORM if: ${{ github.event.inputs.platform != '' }} @@ -96,7 +96,7 @@ jobs: smoke-test-kit/run-smoke-test.sh - name: 'Upload smoke test kit' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Smoke Test Kit ${{matrix.variant}}' path: smoke-test-kit @@ -109,7 +109,7 @@ jobs: steps: - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set PLATFORM if: ${{ github.event.inputs.platform != '' }} @@ -134,7 +134,7 @@ jobs: run: cat /home/runner/.local/state/snapcraft/log/* - name: Save Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Snap package' path: ${{ steps.build.outputs.snap }} @@ -167,13 +167,13 @@ jobs: run: echo "SNAP_PICK=${{ github.event.inputs.snap_pick }}" >> $GITHUB_ENV - name: Download Artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download-snap with: name: 'Snap package' - name: 'Download smoke test kit' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download-smoke with: name: 'Smoke Test Kit ${{ env.SNAP_PICK }}' diff --git a/.github/workflows/ubuntu_dev.yml b/.github/workflows/ubuntu_dev.yml index b279d83560..0c38f0679f 100644 --- a/.github/workflows/ubuntu_dev.yml +++ b/.github/workflows/ubuntu_dev.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set PLATFORM if: ${{ github.event.inputs.platform != '' }} @@ -72,7 +72,7 @@ jobs: smoke-test-kit/run-smoke-test.sh - name: 'Upload smoke test kit' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Smoke Test Kit ${{matrix.variant}}' path: smoke-test-kit diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f41a37534b..f76b800191 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -62,7 +62,7 @@ jobs: git config --global core.eol lf - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set PLATFORM if: ${{ github.event.inputs.platform != '' }} @@ -81,14 +81,14 @@ jobs: run: C:\cygwin_coq_platform\bin\bash --login -c "cd platform/ && shell_scripts/create_smoke_test_kit.sh && mkdir /cygdrive/c/smoke && cp -ra smoke-test-kit/* /cygdrive/c/smoke/" - name: 'Upload Artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Windows installer ${{matrix.variant}} ${{matrix.architecture}}' path: C:\installer\*.exe retention-days: 5 - name: 'Upload smoke test kit' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'Smoke Test Kit Windows ${{matrix.variant}} ${{matrix.architecture}}' path: C:\smoke\ @@ -110,13 +110,13 @@ jobs: steps: - name: 'Download Artifact' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download with: name: 'Windows installer ${{matrix.variant}} ${{matrix.architecture}}' - name: 'Download smoke test kit' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 id: download-smoke with: name: 'Smoke Test Kit Windows ${{matrix.variant}} ${{matrix.architecture}}'