Update to checkout v2

This commit is contained in:
Peter Evans
2020-01-04 09:36:01 +09:00
parent dd94f75873
commit c8b367eb2d
3 changed files with 3 additions and 3 deletions

View File

@@ -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:

View File

@@ -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 }}

View File

@@ -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 }}