We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab6c2c commit c5aab1cCopy full SHA for c5aab1c
.github/workflows/goreleaser.yml
@@ -9,21 +9,23 @@ jobs:
9
goreleaser:
10
runs-on: ubuntu-latest
11
steps:
12
- -
13
- name: Checkout
+ - name: Checkout
14
uses: actions/checkout@v2
15
with:
16
fetch-depth: 0
17
18
- name: Set up Go
+ - name: Set up Go
19
uses: actions/setup-go@v2
20
21
go-version: 1.14
22
23
- name: Run GoReleaser
+
+ - name: Set GITHUB_REF_SLUG
+ id: set_github_ref_slug
+ run: echo ::set-env name=GITHUB_REF_SLUG::${GITHUB_REF#refs/tags/}
24
25
+ - name: Run GoReleaser
26
uses: goreleaser/goreleaser-action@v2
27
28
version: latest
29
args: release --rm-dist
30
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments