Skip to content

Commit

Permalink
Fix Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mphe committed Feb 6, 2025
1 parent 2736729 commit 7cff353
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
build:
runs-on: ${{ matrix.runner }}
name: ${{ matrix.platform }} ${{ matrix.target }} ${{ matrix.arch }} ${{ matrix.optimize }}
env:
ARTIFACT_NAME: ${{ matrix.platform }}-${{ matrix.target }}-${{ matrix.arch }}-${{ matrix.optimize }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -143,8 +145,17 @@ jobs:
rm '${{ github.workspace }}/demo/project.godot'
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}
name: build-${{ env.ARTIFACT_NAME }}
path: |
${{ github.workspace }}/demo/
merge:
runs-on: ubuntu-latest
needs: build
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: ${{ github.event.repository.name }}
pattern: build-*

0 comments on commit 7cff353

Please sign in to comment.