From aa8a4ca45dee718be08220e7fe7526d1cd3a2aad Mon Sep 17 00:00:00 2001 From: Puskar Basu <45908484+pskrbasu@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:18:40 +0530 Subject: [PATCH] Bump actions/upload-artifact and actions/download-artifact from 3 to 4 --- .github/workflows/release_cli_and_assets.yml | 10 ++++++---- .github/workflows/test.yml | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release_cli_and_assets.yml b/.github/workflows/release_cli_and_assets.yml index 6803d6f64..76479d7c4 100644 --- a/.github/workflows/release_cli_and_assets.yml +++ b/.github/workflows/release_cli_and_assets.yml @@ -290,18 +290,20 @@ jobs: run: ls -l ~/artifacts - name: Save Linux Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifact-linux path: ~/artifacts/linux.tar.gz if-no-files-found: error + overwrite: true - name: Save MacOS Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifact-darwin path: ~/artifacts/darwin.zip if-no-files-found: error + overwrite: true run_acceptance_tests: name: Acceptance tests @@ -381,14 +383,14 @@ jobs: mkdir ~/artifacts - name: Download Linux Build Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ matrix.platform == 'ubuntu-latest' }} with: name: build-artifact-linux path: ~/artifacts - name: Download Darwin Build Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ matrix.platform == 'macos-latest' }} with: name: build-artifact-darwin diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6995e100..f21d52a57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,18 +71,20 @@ jobs: run: ls -l ~/artifacts - name: Save Linux Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifact-linux path: ~/artifacts/linux.tar.gz if-no-files-found: error + overwrite: true - name: Save MacOS Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifact-darwin path: ~/artifacts/darwin.zip if-no-files-found: error + overwrite: true acceptance_test: name: Test @@ -146,14 +148,14 @@ jobs: mkdir ~/artifacts - name: Download Linux Build Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ matrix.platform == 'ubuntu-latest' }} with: name: build-artifact-linux path: ~/artifacts - name: Download Darwin Build Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ matrix.platform == 'macos-latest' }} with: name: build-artifact-darwin