Skip to content

Commit 9c1420a

Browse files
committed
CI: actions/upload-artifact skip version
fixing complains: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` Use the main branch instead of hard-coded the version to eliminate the needs to such small/technical fixes in future. Taken from: <https://stackoverflow.com/questions/73256369/using-the-latest-version-of-a-github-action#73259281>
1 parent 106bbc7 commit 9c1420a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/arm-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
sudo .github/scripts/replace-asset.sh GITHUB_REPOSITORY=$GITHUB_REPOSITORY GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} continuous ~/chroot/UltraGrid/UltraGrid-latest-${{ matrix.arch }}.AppImage application/x-appimage Linux%20${{ matrix.arch }}%20build
8686
- name: Upload Build
8787
if: steps.upload-release-asset.conclusion == 'skipped'
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@main
8989
with:
9090
name: UltraGrid CI ${{ matrix.arch }} build
9191
path: '~/chroot/UltraGrid/UltraGrid-latest-${{ matrix.arch }}.AppImage'

.github/workflows/ccpp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION-x86_64.AppImage application/x-appimage Linux%20build
138138
- name: Upload Build
139139
if: steps.upload-release.conclusion == 'skipped'
140-
uses: actions/upload-artifact@v3
140+
uses: actions/upload-artifact@main
141141
with:
142142
name: UltraGrid-Linux
143143
path: UltraGrid-${{ env.VERSION }}-x86_64.AppImage
@@ -228,7 +228,7 @@ jobs:
228228
.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION.dmg application/x-apple-diskimage macOS%20build
229229
- name: Upload Build
230230
if: steps.upload-release.conclusion == 'skipped'
231-
uses: actions/upload-artifact@v3
231+
uses: actions/upload-artifact@main
232232
with:
233233
name: UltraGrid-macOS
234234
path: UltraGrid-${{ env.VERSION }}.dmg
@@ -351,7 +351,7 @@ jobs:
351351
$GITHUB_WORKSPACE/.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION-win64.zip application/zip Windows%20build
352352
- name: Upload Build
353353
if: steps.upload-release.conclusion == 'skipped'
354-
uses: actions/upload-artifact@v3
354+
uses: actions/upload-artifact@main
355355
with:
356356
name: UltraGrid-Windows
357357
path: build

0 commit comments

Comments
 (0)