Skip to content

Commit 3c1099d

Browse files
committed
ci: Fix github machine and action deprecated issue
Signed-off-by: Huaqi Fang <[email protected]>
1 parent 33190f0 commit 3c1099d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# This workflow contains a single job called "build"
2121
build:
2222
name: build for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-22.04
2424
strategy:
2525
matrix:
2626
soc: [evalsoc]
@@ -44,15 +44,15 @@ jobs:
4444
4545
- name: Upload source
4646
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'evalsoc'
47-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: nuclei_linux_sdk_source
5050
path: source.tar.gz
5151
# continue build on error
5252
continue-on-error: true
5353

5454
- name: Caching packages
55-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5656
with:
5757
path: buildroot/dl
5858
key: build
@@ -120,7 +120,7 @@ jobs:
120120
}
121121
122122
- name: Upload bootimages for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
123-
uses: actions/upload-artifact@v3
123+
uses: actions/upload-artifact@v4
124124
with:
125125
name: bootimages_${{ matrix.soc }}_${{ matrix.core }}_${{ matrix.boot_mode }}
126126
path: |
@@ -129,7 +129,7 @@ jobs:
129129
work/${{ matrix.soc }}/buildstamp.txt
130130
131131
- name: Upload qemu images for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
132-
uses: actions/upload-artifact@v3
132+
uses: actions/upload-artifact@v4
133133
with:
134134
name: qemu_images_${{ matrix.soc }}_${{ matrix.core }}_${{ matrix.boot_mode }}
135135
path: |
@@ -142,7 +142,7 @@ jobs:
142142
143143
- name: Upload cached packages
144144
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'evalsoc'
145-
uses: actions/upload-artifact@v3
145+
uses: actions/upload-artifact@v4
146146
with:
147147
name: build_caching
148148
path: |

0 commit comments

Comments
 (0)