Skip to content

Commit

Permalink
fix(gha): upload and download artifact updated to v4 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot authored Jan 31, 2025
1 parent 70f9ed0 commit 7c0003f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/heartbeat-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/seqera-showcase-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/seqera-showcase-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/seqera-showcase-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 7c0003f

Please sign in to comment.