mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-11 03:11:28 +00:00
Update workflow
This commit is contained in:
7
.github/workflows/on-repository-dispatch.yml
vendored
7
.github/workflows/on-repository-dispatch.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user