Skip to content

Commit

Permalink
Update actions with artifacts v4
Browse files Browse the repository at this point in the history
  • Loading branch information
dlktdr committed Oct 21, 2024
1 parent 7ae7247 commit 467245a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-gui_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@ jobs:
# if: ${{ failure() }}
# timeout-minutes: 15

- name: Archive production artifacts
uses: actions/upload-artifact@v3
# Runs a set of commands using the runners shell
- name: Package Linux GUI
uses: 'actions/upload-artifact@v4'
id: artifact-upload-step
with:
name: headtracker_linux_appimage
path: ${{github.workspace}}/HeadTracker*.AppImage
retention-days: 60
retention-days: 90
if-no-files-found: error

- name: Output artifact ID
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'
11 changes: 8 additions & 3 deletions .github/workflows/build-gui_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,15 @@ jobs:
curl -L -o bossac.exe https://github.com/dlktdr/HeadTracker/raw/master/gui/bin/bossac.exe
windeployqt HeadTracker.exe
- name: Archive production artifacts
uses: actions/upload-artifact@v2
# Runs a set of commands using the runners shell
- name: Package Windows GUI
uses: 'actions/upload-artifact@v4'
id: artifact-upload-step
with:
name: headtracker_win
path: ${{github.workspace}}/output
retention-days: 60
retention-days: 90
if-no-files-found: error

- name: Output artifact ID
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'

0 comments on commit 467245a

Please sign in to comment.