fix(ci): Update upload-artifact with merge step
This commit is contained in:
parent
5685074835
commit
0755b7a64c
1 changed files with 14 additions and 2 deletions
16
.github/workflows/build-user-config.yml
vendored
16
.github/workflows/build-user-config.yml
vendored
|
@ -157,7 +157,19 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Archive (${{ env.display_name }})
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifact-${{ env.artifact_name }}
|
||||
path: ${{ env.build_dir }}/artifacts
|
||||
|
||||
merge:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
name: Merge Output Artifacts
|
||||
steps:
|
||||
- name: Merge Artifacts
|
||||
uses: actions/upload-artifact/merge@v4
|
||||
with:
|
||||
name: ${{ inputs.archive_name }}
|
||||
path: ${{ env.build_dir }}/artifacts
|
||||
pattern: artifact-*
|
||||
delete-merged: true
|
||||
|
|
Loading…
Add table
Reference in a new issue