Skip to content

Commit

Permalink
fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
3ddelano committed Apr 19, 2024
1 parent 5815936 commit 80ed08e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
path: |
${{ github.workspace }}/artifact-${{ matrix.identifier }}/
retention-days: 14
merge:
merge-platforms:
runs-on: ubuntu-latest
needs: build
strategy:
Expand All @@ -191,7 +191,7 @@ jobs:
- identifier: macos-universal
name: 🍎 macOS (universal)
matchpattern: macos
- identifier: windows-x86_64
- identifier: windows
name: 🏁 Windows
matchpattern: windows
- identifier: android-arm64
Expand All @@ -205,9 +205,13 @@ jobs:
- name: Merge artifacts for platform
uses: actions/upload-artifact/merge@v4
with:
name: ${{ github.event.repository.name }}-${{ matrix.identifier }}-${{ github.sha }}
name: ${{ github.event.repository.name }}-${{ matrix.matchpattern }}-${{ github.sha }}
pattern: ${{ github.event.repository.name }}-${{ matrix.matchpattern }}*

merge-all:
runs-on: ubuntu-latest
needs: merge-platforms
steps:
- name: Merge artifacts into single
uses: actions/upload-artifact/merge@v4
with:
Expand Down

0 comments on commit 80ed08e

Please sign in to comment.