Skip to content

Commit df6ae26

Browse files
committed
chore: upgrade actions/checkout from v4 to v5 in build workflows to supress node20 expire
1 parent 29f6389 commit df6ae26

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
msbuild_args: ${{ steps.get_version.outputs.msbuild_args }}
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030

3131
- name: Get Version
3232
id: get_version
@@ -46,15 +46,15 @@ jobs:
4646
4747
- name: Cache FE build output
4848
id: fe_build_cache
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: ./src/FE/out
5252
key: fe-build-${{ hashFiles('src/FE/**') }}
5353

5454
- name: Cache node_modules
5555
id: node_modules_cache
5656
if: steps.fe_build_cache.outputs.cache-hit != 'true'
57-
uses: actions/cache@v4
57+
uses: actions/cache@v5
5858
with:
5959
path: ./src/FE/node_modules
6060
key: fe-node_modules-${{ hashFiles('src/FE/package-lock.json') }}
@@ -75,13 +75,13 @@ jobs:
7575
cp -r ./src/FE/out/* ./src/BE/web/wwwroot
7676
7777
- name: Upload FE build artifacts
78-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@v5
7979
with:
8080
name: chats-fe
8181
path: ./src/FE/out
8282

8383
- name: Upload BE src folder
84-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@v5
8585
with:
8686
name: be-src
8787
path: |
@@ -122,7 +122,7 @@ jobs:
122122
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ vars.DOCKER_USERNAME }} ${{ vars.DOCKER_REGISTRY }} --password-stdin
123123

124124
- name: Download BE src folder
125-
uses: actions/download-artifact@v4
125+
uses: actions/download-artifact@v5
126126
with:
127127
name: be-src
128128
path: ./be-src
@@ -165,7 +165,7 @@ jobs:
165165
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ vars.DOCKER_USERNAME }} ${{ vars.DOCKER_REGISTRY }} --password-stdin
166166

167167
- name: Download BE src folder
168-
uses: actions/download-artifact@v4
168+
uses: actions/download-artifact@v5
169169
with:
170170
name: be-src
171171
path: ./be-src
@@ -252,15 +252,15 @@ jobs:
252252
runs-on: ubuntu-24.04
253253
steps:
254254
- name: Download BE src folder
255-
uses: actions/download-artifact@v4
255+
uses: actions/download-artifact@v5
256256
with:
257257
name: be-src
258258
path: ./be-src
259259
- name: build binary
260260
run: |
261261
dotnet publish ./be-src/web/Chats.BE.csproj -c Release -o ./Publish ${{ matrix.args }} ${{ needs.build-fe.outputs.msbuild_args }}
262262
- name: Upload artifacts
263-
uses: actions/upload-artifact@v4
263+
uses: actions/upload-artifact@v5
264264
with:
265265
name: ${{ matrix.id }}
266266
path: ./Publish
@@ -283,15 +283,15 @@ jobs:
283283
runs-on: ubuntu-24.04
284284
steps:
285285
- name: Download BE src folder
286-
uses: actions/download-artifact@v4
286+
uses: actions/download-artifact@v5
287287
with:
288288
name: be-src
289289
path: ./be-src
290290
- name: build binary
291291
run: |
292292
dotnet publish ./be-src/web/Chats.BE.csproj -c Release -o ./Publish ${{ matrix.args }} /p:DeleteExistingFiles=True ${{ needs.build-fe.outputs.msbuild_args }}
293293
- name: Upload artifacts
294-
uses: actions/upload-artifact@v4
294+
uses: actions/upload-artifact@v5
295295
with:
296296
name: ${{ matrix.id }}
297297
path: ./Publish
@@ -312,7 +312,7 @@ jobs:
312312
release_id: ${{ steps.create_release.outputs.release_id }}
313313
steps:
314314
- name: Checkout code
315-
uses: actions/checkout@v4
315+
uses: actions/checkout@v5
316316
with:
317317
fetch-depth: 0
318318

.github/workflows/code-interpreter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ${{ matrix.runs-on }}
9191
steps:
9292
- name: Checkout
93-
uses: actions/checkout@v4
93+
uses: actions/checkout@v5
9494

9595
- name: Set up Docker Buildx
9696
uses: docker/setup-buildx-action@v3
@@ -128,7 +128,7 @@ jobs:
128128
runs-on: ubuntu-24.04
129129
steps:
130130
- name: Checkout
131-
uses: actions/checkout@v4
131+
uses: actions/checkout@v5
132132

133133
- name: Login to Docker Hub
134134
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ vars.DOCKER_USERNAME }} ${{ vars.DOCKER_REGISTRY }} --password-stdin

0 commit comments

Comments
 (0)