summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 02129ab..763c9e2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,14 +11,14 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
- go-version: [ 1.14.x ]
+ go: [ '1.15' ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
- uses: actions/setup-go@v1
+ uses: actions/setup-go@v2
with:
- go-version: ${{ matrix.go-version }}
+ go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
@@ -54,16 +54,16 @@ jobs:
echo "::set-output name=tag_special::${TAG_SPECIAL}"
- name: Cache the build cache
- uses: actions/cache@v1
+ uses: actions/cache@v2
with:
path: ${{ steps.vars.outputs.go_cache }}
- key: ${{ runner.os }}-go-release-${{ hashFiles('**/go.sum') }}
+ key: ${{ runner.os }}-go${{ matrix.go }}-release-${{ hashFiles('**/go.sum') }}
restore-keys: |
- ${{ runner.os }}-go-release
+ ${{ runner.os }}-go${{ matrix.go }}-release
# GoReleaser will take care of publishing those artifacts into the release
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v1
+ uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist