Skip to content

Commit

Permalink
ci: merge the artifacts after upload
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 7, 2024
1 parent 4eb15b5 commit daa3542
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- push

jobs:
Test:
build:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -91,3 +91,12 @@ jobs:
with:
name: minijson-${{ runner.os }}-${{ runner.arch }}
path: ./dist

merge-artifacts:
runs-on: ubuntu-latest
needs: build
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
delete-merged: true

0 comments on commit daa3542

Please sign in to comment.