no dashes

This commit is contained in:
Elio Bischof
2024-11-27 13:25:06 +01:00
parent fab9206e7e
commit ef7fd863a5

View File

@@ -26,15 +26,15 @@ on:
required: false
jobs:
prepare-matrix:
matrix:
# If the workflow is triggered by a schedule event, only the acceptance tests run against QA and Prod.
name: Prepare Matrix
name: Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.prepare-matrix.outputs.matrix }}
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Prepare Matrix
id: prepare-matrix
- name: Matrix
id: matrix
run: |
if [ -z "${{ github.event.schedule }}" ]; then
echo 'matrix=["test:acceptance:qa", "test:acceptance:prod"]' >> $GITHUB_OUTPUT
@@ -46,16 +46,16 @@ jobs:
echo 'matrix=["format --check", "lint", "test:unit", "test:integration", "test:acceptance"]' >> $GITHUB_OUTPUT
fi
- name: Show Matrix
run: echo '${{ steps.prepare-matrix.outputs.matrix }}'
run: echo '${{ steps.matrix.outputs.matrix }}'
debug:
name: Debug matrix
runs-on: ubuntu-latest
steps:
- name: Debug matrix
run: echo ${{ needs.prepare-matrix.outputs.matrix }}
run: echo ${{ needs.matrix.outputs.matrix }}
- name: Debug fromJson
run: echo ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
run: echo ${{ fromJson(needs.matrix.outputs.matrix) }}
quality:
@@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
command: ${{ fromJson( needs.prepare-matrix.outputs.matrix ) }}
command: ${{ fromJson( needs.matrix.outputs.matrix ) }}
steps:
- name: Checkout Repo