Skip to content

Commit daa3542

Browse files
committed
ci: merge the artifacts after upload
1 parent 4eb15b5 commit daa3542

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
- push
55

66
jobs:
7-
Test:
7+
build:
88
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
99
runs-on: ${{ matrix.os }}
1010
strategy:
@@ -91,3 +91,12 @@ jobs:
9191
with:
9292
name: minijson-${{ runner.os }}-${{ runner.arch }}
9393
path: ./dist
94+
95+
merge-artifacts:
96+
runs-on: ubuntu-latest
97+
needs: build
98+
steps:
99+
- name: Merge Artifacts
100+
uses: actions/upload-artifact/merge@v4
101+
with:
102+
delete-merged: true

0 commit comments

Comments
 (0)