From 7c0003f6955f83ede2ea33777441e65188ca20f4 Mon Sep 17 00:00:00 2001 From: Adam Talbot <12817534+adamrtalbot@users.noreply.github.com> Date: Fri, 31 Jan 2025 10:57:50 +0000 Subject: [PATCH] fix(gha): upload and download artifact updated to v4 (#46) --- .github/workflows/heartbeat-checks.yml | 2 +- .github/workflows/seqera-showcase-enterprise.yml | 6 +++--- .github/workflows/seqera-showcase-production.yml | 6 +++--- .github/workflows/seqera-showcase-staging.yml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/heartbeat-checks.yml b/.github/workflows/heartbeat-checks.yml index 1128c4b..38dbac3 100644 --- a/.github/workflows/heartbeat-checks.yml +++ b/.github/workflows/heartbeat-checks.yml @@ -33,7 +33,7 @@ jobs: pipeline: ${{ matrix.launch.pipeline }} api_endpoint: ${{ secrets.STAGING_TOWER_ACCESS_ENDPOINT }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() || failure() with: name: tower_logs_run_${{ matrix.launch.name }}_${{ github.run_id }} diff --git a/.github/workflows/seqera-showcase-enterprise.yml b/.github/workflows/seqera-showcase-enterprise.yml index f1ff901..afa2010 100644 --- a/.github/workflows/seqera-showcase-enterprise.yml +++ b/.github/workflows/seqera-showcase-enterprise.yml @@ -129,7 +129,7 @@ jobs: ${{ (github.event_name == 'workflow_dispatch' && inputs.disable_optimization == 'false') && '' || '--disable-optimization' }} \ -o ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json @@ -144,7 +144,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: run_details @@ -182,7 +182,7 @@ jobs: ${{ ( github.event_name != 'workflow_dispatch' || inputs.remove == 'true' ) && '--delete' || '' }} \ ${{ ( github.event_name != 'workflow_dispatch' || inputs.force == 'true' ) && '--force' || '' }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data.json diff --git a/.github/workflows/seqera-showcase-production.yml b/.github/workflows/seqera-showcase-production.yml index e87303b..7f90768 100644 --- a/.github/workflows/seqera-showcase-production.yml +++ b/.github/workflows/seqera-showcase-production.yml @@ -135,7 +135,7 @@ jobs: ${{ (github.event_name == 'workflow_dispatch' && inputs.disable_optimization == 'false') && '' || '--disable-optimization' }} \ -o ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json @@ -150,7 +150,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: run_details @@ -188,7 +188,7 @@ jobs: ${{ ( github.event_name != 'workflow_dispatch' || inputs.remove == 'true' ) && '--delete' || '' }} \ ${{ ( github.event_name != 'workflow_dispatch' || inputs.force == 'true' ) && '--force' || '' }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data.json diff --git a/.github/workflows/seqera-showcase-staging.yml b/.github/workflows/seqera-showcase-staging.yml index 7c4f697..4e0be90 100644 --- a/.github/workflows/seqera-showcase-staging.yml +++ b/.github/workflows/seqera-showcase-staging.yml @@ -132,7 +132,7 @@ jobs: ${{ (github.event_name == 'workflow_dispatch' && inputs.disable_optimization == 'false') && '' || '--disable-optimization' }} \ -o ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}.json @@ -147,7 +147,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_launch_json path: run_details @@ -185,7 +185,7 @@ jobs: ${{ ( github.event_name != 'workflow_dispatch' || inputs.remove == 'true' ) && '--delete' || '' }} \ ${{ ( github.event_name != 'workflow_dispatch' || inputs.force == 'true' ) && '--force' || '' }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data path: ${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}_workflow_data.json