Skip to content

Update test.yaml

Update test.yaml #2

Workflow file for this run

name: test-workflow
on: [push]
jobs:
job1:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Some job step that provides an output
id: step1
run: echo "::set-output name=output1::output-thing"
job2:
needs: job1
runs-on: ubuntu-latest
steps:
- name: Get output
run: |
echo "The output: ${{ needs.job1.outputs.output1 }}"