- matrix
- strategy
- fail-fast
Matrix (env vars)
examples/workflows/matrix_env_vars.yml
name: Matrix environment variables on: push jobs: build: runs-on: ubuntu-latest strategy: fail-fast: true matrix: fruit: - Apple - Banana meal: - Breakfast - Lunch steps: - name: Single step env: DEMO_FRUIT: ${{ matrix.fruit }} DEMO_MEAL: ${{ matrix.meal }} run: | echo $DEMO_FRUIT for $DEMO_MEAL