Skip to content

Commit

Permalink
ci: checkout and setup go in prepare-release job
Browse files Browse the repository at this point in the history
  • Loading branch information
autopp committed Feb 1, 2022
1 parent 14062ae commit 4ae4eed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
runs-on: ubuntu-latest
needs: test-and-build
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
id: go
- name: Create Tag
run: |
VERSION=${GITHUB_HEAD_REF#release/}
Expand Down

0 comments on commit 4ae4eed

Please sign in to comment.