Skip to content

Commit

Permalink
Fix matrix output
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Jun 3, 2024
1 parent 4ca2c56 commit 7c0572f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
test:
needs: pubspec
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJson(needs.pubspec.outputs.matrix)}}
strategy: ${{fromJson(needs.pubspec.outputs.matrix)}}
steps:
- uses: flutter-actions/setup-flutter@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function main() {
await core.group("Matrix summary", () => core.info(JSON.stringify(outputs, null, 2)))

// Set the output variables
core.setOutput('matrix', JSON.stringify(outputs))
core.setOutput('matrix', JSON.stringify({ matrix: outputs.matrix }))
if ('dart' in outputs) {
core.setOutput('dart', JSON.stringify(outputs.dart))
}
Expand Down

0 comments on commit 7c0572f

Please sign in to comment.