mirror of https://github.com/thesofproject/sof.git
.github: upgrade deprecated upload-artifact@v3 to v4
Fixes a lot of instances of this warning: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/ 2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
22b3518601
commit
e29d4bc390
|
@ -87,7 +87,7 @@ jobs:
|
|||
sof/scripts/fuzz.sh -o fuzz-stdout.txt -t "$duration" -j"$(nproc)" -- "$cmake_arg"
|
||||
|
||||
- name: Upload stdout
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
name: ${{ matrix.IPC }} logs
|
||||
|
|
|
@ -198,10 +198,11 @@ jobs:
|
|||
${{ matrix.build_opts }} ${{ matrix.IPC_platforms }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ matrix.zephyr_revision == 'mnfst' }}
|
||||
with:
|
||||
name: linux-build ${{ matrix.build_opts }} ${{ matrix.IPC_platforms }}
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
${{ github.workspace }}/workspace/build-sof-staging
|
||||
${{ github.workspace }}/workspace/**/compile_commands.json
|
||||
|
@ -363,9 +364,10 @@ jobs:
|
|||
${{ matrix.build_opts }} ${{ matrix.platforms }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: windows-build ${{ matrix.build_opts }} ${{ matrix.platforms }}
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
${{ github.workspace }}/workspace/build-sof-staging
|
||||
${{ github.workspace }}/workspace/**/compile_commands.json
|
||||
|
@ -391,7 +393,7 @@ jobs:
|
|||
filter: 'tree:0'
|
||||
|
||||
- name: Download Windows and Linux builds
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
- name: apt-get dos2unix
|
||||
run: sudo apt-get update; sudo apt-get -y install dos2unix
|
||||
|
|
Loading…
Reference in New Issue