Skip to content

Commit

Permalink
Update CI actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
- V4 provides potentially significantly faster artifact uploads and customizable compression levels for the artifact zip file.
  • Loading branch information
sturnclaw committed Jan 31, 2024
1 parent 737c2ff commit 2932931
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/upload-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ runs:
tar -czf "pioneer-$BUILD_SLUG-$(date +%Y%m%d).tar.gz" "pioneer-$BUILD_SLUG"
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact_name }}
path: ${{ format('out/install/pioneer-{0}-*.tar.gz', inputs.build_slug) }}
retention-days: 14
compression-level: 7

- name: Build Release
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
- 'src/**.cpp'
- 'src/**.h'
- '**/CMakeLists.txt'
- '.github/workflows/build-ci.yml'
- '.github/actions/*/action.yml'
release:
types: [published]

Expand Down

0 comments on commit 2932931

Please sign in to comment.