Skip to content

Commit

Permalink
Generate the JSON matrix from the proper branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Dec 17, 2023
1 parent c56b74c commit 2a0d0d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/native-build-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
- id: generate
run: |
json=$(.github/generate-native-matrix.sh | tr -d '\n')
Expand All @@ -31,7 +33,7 @@ jobs:
fail-fast: false
matrix: ${{ fromJson(needs.generate-json-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}

Expand Down

0 comments on commit 2a0d0d4

Please sign in to comment.