From 467245ae8484a11dba19c44fb76909671a285cc9 Mon Sep 17 00:00:00 2001 From: Cliff Blackburn Date: Mon, 21 Oct 2024 14:56:14 -0600 Subject: [PATCH] Update actions with artifacts v4 --- .github/workflows/build-gui_linux.yml | 11 ++++++++--- .github/workflows/build-gui_win.yml | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-gui_linux.yml b/.github/workflows/build-gui_linux.yml index 552eae16..c24ea4a9 100644 --- a/.github/workflows/build-gui_linux.yml +++ b/.github/workflows/build-gui_linux.yml @@ -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 }}' diff --git a/.github/workflows/build-gui_win.yml b/.github/workflows/build-gui_win.yml index 565694cb..1f1041ac 100644 --- a/.github/workflows/build-gui_win.yml +++ b/.github/workflows/build-gui_win.yml @@ -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 }}'