From c8b367eb2d714aa3bb1c00ccc5b4269690ff67e7 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 4 Jan 2020 09:36:01 +0900 Subject: [PATCH] Update to checkout v2 --- .github/workflows/create-repository-dispatch.yml | 2 +- .github/workflows/on-repository-dispatch.yml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-repository-dispatch.yml b/.github/workflows/create-repository-dispatch.yml index 55ad605..bf35f66 100644 --- a/.github/workflows/create-repository-dispatch.yml +++ b/.github/workflows/create-repository-dispatch.yml @@ -4,7 +4,7 @@ jobs: createRepositoryDispatch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Repository Dispatch uses: ./ with: diff --git a/.github/workflows/on-repository-dispatch.yml b/.github/workflows/on-repository-dispatch.yml index 162bbde..194adaf 100644 --- a/.github/workflows/on-repository-dispatch.yml +++ b/.github/workflows/on-repository-dispatch.yml @@ -6,7 +6,7 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: ref: ${{ github.event.client_payload.ref }} - run: echo ${{ github.event.client_payload.sha }} diff --git a/README.md b/README.md index f516be3..ed3e5ea 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ jobs: myEvent: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: ref: ${{ github.event.client_payload.ref }} - run: echo ${{ github.event.client_payload.sha }}