Skip to content

Commit 25b502e

Browse files
authored
bump ci actions versions (#630)
1 parent af3534c commit 25b502e

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,11 @@ jobs:
145145
docker run --volume ${{ github.workspace }}:/app --workdir /app --privileged builder sh -c "${{ matrix.docker_cmd }}"
146146
147147
- name: Upload artifacts
148-
uses: actions/upload-artifact@v3
148+
uses: actions/upload-artifact@v4
149149
with:
150150
path: ./prebuilds
151+
name: prebuilds-${{ strategy.job-index }}
152+
overwrite: true
151153

152154
- name: Lint
153155
if: "${{ contains(matrix.os, 'ubuntu') && !matrix.docker }}"
@@ -174,3 +176,13 @@ jobs:
174176
pnpm install -g electron@latest
175177
xvfb-run --auto-servernum pnpm run test.electron.main
176178
continue-on-error: true
179+
merge-prebuilds:
180+
runs-on: ubuntu-latest
181+
needs: Build
182+
steps:
183+
- name: Merge Artifacts
184+
uses: actions/upload-artifact/merge@v4
185+
with:
186+
name: prebuilds
187+
pattern: prebuilds-*
188+
delete-merged: true

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
ARCH: ${{ matrix.ARCH }}
3232

3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535

3636
- name: Cache
37-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3838
with:
3939
path: |
4040
./node_modules/
@@ -52,12 +52,12 @@ jobs:
5252
cmake: true
5353
architecture: ${{ matrix.cpp_arch }}
5454

55-
- uses: pnpm/action-setup@v2.2.4
55+
- uses: pnpm/action-setup@v4
5656
with:
5757
version: 7
5858

5959
- name: Install Node
60-
uses: actions/setup-node@v3
60+
uses: actions/setup-node@v4
6161
with:
6262
node-version: ${{ matrix.node_version }}
6363
architecture: ${{ matrix.node_arch }}

0 commit comments

Comments
 (0)