Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matrix to workflow to demonstrate missing feature #12

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
integration:
name: Integration
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
value: [a, b]

steps:
- uses: actions/checkout@v2
Expand All @@ -34,3 +38,12 @@ jobs:
buildevents cmd $TRACE_ID $STEP_ID 'sleep some more' -- sleep 2
- run: |
buildevents step $TRACE_ID $STEP_ID $STEP_START 'step 2'

- name: output matrix value (${{ matrix.value }})
run: |
echo ::set-env name=STEP_ID::2
echo ::set-env name=STEP_START::$(date +%s)
- run: |
buildevents cmd $TRACE_ID $STEP_ID 'output matrix value ${{ matrix.value }}' -- echo ${{ matrix.value }}
- run: |
buildevents step $TRACE_ID $STEP_ID $STEP_START 'step 3'