Skip to content

Commit

Permalink
Update go version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RobolabGs2 committed Dec 22, 2021
1 parent 69959c0 commit 48caf83
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
on:
push:
tags:
- '*'
name: goreleaser
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --config=.github/goreleaser.yml --rm-dist
env:
on:
push:
tags:
- '*'
name: goreleaser
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --config=.github/goreleaser.yml --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 48caf83

Please sign in to comment.