Update workflow

This commit is contained in:
Peter Evans
2020-05-04 18:20:33 +09:00
parent c1daf2a5ee
commit 8f68ab9db2

View File

@@ -6,7 +6,14 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Dump the client payload context
env:
PAYLOAD_CONTEXT: ${{ toJson(github.event.client_payload) }}
run: echo "$PAYLOAD_CONTEXT"
- uses: actions/checkout@v2
if: github.event.client_payload.ref != ''
with:
ref: ${{ github.event.client_payload.ref }}
- run: echo ${{ github.event.client_payload.sha }}