From 7fa30e60a1ba5071a096ab5465e6c1f4ce2386d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Chapoton?= Date: Tue, 5 Nov 2024 21:35:45 +0100 Subject: [PATCH] switch to artifacts@v4 --- .github/workflows/ci-macos.yml | 6 +++--- .github/workflows/docker.yml | 4 ++-- .github/workflows/macos.yml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 2f3a9cf6e4e..c62d259c286 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -95,7 +95,7 @@ jobs: - name: make dist run: | ./configure --enable-download-from-upstream-url && make dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: "dist/*.tar.gz" name: dist @@ -119,7 +119,7 @@ jobs: steps: - uses: actions/checkout@v4 if: "!contains(matrix.tox_system_factor, 'nobootstrap')" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: . name: dist @@ -147,7 +147,7 @@ jobs: run: | mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME" if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: artifacts name: ${{ env.LOGS_ARTIFACT_NAME }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4f3d1441544..a7d5ecc8835 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -170,7 +170,7 @@ jobs: ref: ${{ inputs.sage_ref }} fetch-depth: 10000 - name: Download upstream artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: upstream name: ${{ inputs.upstream_artifact }} @@ -260,7 +260,7 @@ jobs: cp -r .tox/$TOX_ENV/* "artifacts/$LOGS_ARTIFACT_NAME" rm -rf "artifacts/$LOGS_ARTIFACT_NAME"/{bin,lib,pyvenv.cfg} if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: artifacts name: ${{ env.LOGS_ARTIFACT_NAME }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3d0732bcb7e..38c7feb9ad8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -91,7 +91,7 @@ jobs: run: | "${{ steps.python.outputs.python-path }}" -m pip install pipx - name: Download upstream artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: upstream name: ${{ inputs.upstream_artifact }} @@ -108,7 +108,7 @@ jobs: GH_TOKEN: ${{ github.token }} SAGE_CI_FIXES_FROM_REPOSITORIES: ${{ vars.SAGE_CI_FIXES_FROM_REPOSITORIES }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: sage-local-artifact name: ${{ env.LOCAL_ARTIFACT_NAME }} @@ -147,7 +147,7 @@ jobs: run: | mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME" if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: artifacts name: ${{ env.LOGS_ARTIFACT_NAME }} @@ -165,7 +165,7 @@ jobs: run: | mkdir -p sage-local-artifact && (cd .tox/$TOX_ENV && rm -f "local/lib64" && tar -cf - $(pwd)) > sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ inputs.stage }}.tar if: contains(inputs.stage, '1') - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ inputs.stage }}.tar name: ${{ env.LOCAL_ARTIFACT_NAME }}