mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-07-09 06:55:15 +00:00
Update to checkout v2
This commit is contained in:
@@ -4,7 +4,7 @@ jobs:
|
|||||||
createRepositoryDispatch:
|
createRepositoryDispatch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Repository Dispatch
|
- name: Repository Dispatch
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/on-repository-dispatch.yml
vendored
2
.github/workflows/on-repository-dispatch.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.client_payload.ref }}
|
ref: ${{ github.event.client_payload.ref }}
|
||||||
- run: echo ${{ github.event.client_payload.sha }}
|
- run: echo ${{ github.event.client_payload.sha }}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
myEvent:
|
myEvent:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.client_payload.ref }}
|
ref: ${{ github.event.client_payload.ref }}
|
||||||
- run: echo ${{ github.event.client_payload.sha }}
|
- run: echo ${{ github.event.client_payload.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user