Skip to content

Commit

Permalink
Updating upload_artifact in github actions (#9061)
Browse files Browse the repository at this point in the history
Update upload_artifact from 3 -> 4
  • Loading branch information
lbergelson authored Dec 10, 2024
1 parent fc248df commit ee25c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/upload-gatk-test-results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
steps:
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
# ternary expression syntax is workaround found here https://github.com/actions/runner/issues/409
name: test-results-${{ inputs.is-docker == 'true' && 'docker-' || '' }}${{ matrix.Java }}-${{ matrix.testType }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gatk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
outputs: type=docker,dest=/tmp/myimage.tar
# By uploading the docker image as an artifact we save ourselves the requirement for the image to be built with ghcr push permission
- name: Upload docker image as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gatkDockerImage
path: /tmp/myimage.tar
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
cp scripts/docker/dockertest.gradle .
- name: Download docker image artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: gatkDockerImage
path: /tmp
Expand Down

0 comments on commit ee25c7b

Please sign in to comment.