Skip to content

Commit

Permalink
fix artifact passing with two matrix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Sep 5, 2024
1 parent b3598e2 commit f1e04eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: packages/
name: ${{ matrix.package_name }}
path: packages/${{ matrix.package_name }}

build:
if: (github.event_name != 'pull_request' && ! github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: packages
name: ${{ matrix.package }}
- name: Build
shell: bash
run: |
Expand Down

0 comments on commit f1e04eb

Please sign in to comment.