Skip to content

add ref back

add ref back #7

Workflow file for this run

on: [push, pull_request]
jobs:
deployments:
runs-on: ubuntu-latest
name: Test the action
outputs:
deployments: ${{ steps.deployments.outputs.deployments }}
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Test this repository
uses: ./ # Uses an action in the root directory
id: deployments
with:
repository: "${{ github.repository }}"
token: "${{ github.token }}"
job2:
needs: deployments
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJson(needs.deployments.outputs.deployments)}}
steps:
- run: echo ${{ matrix.deployment_id }}
- run: echo ${{ matrix.status }}
- run: echo ${{ matrix.ref }}
- run: echo ${{ matrix.environment }}