Signed-off-by: Florian Wagner <[email protected]>
This commit is contained in:
@@ -13,14 +13,14 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Go 1.14
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v4
|
||||||
- name: Set CURRENT_TAG
|
- name: Set CURRENT_TAG
|
||||||
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v3
|
uses: goreleaser/goreleaser-action@v3
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|||||||
+3
-3
@@ -5,12 +5,12 @@ builds:
|
|||||||
binary: bin/actions-sync
|
binary: bin/actions-sync
|
||||||
id: macos
|
id: macos
|
||||||
goos: [darwin]
|
goos: [darwin]
|
||||||
goarch: [amd64]
|
goarch: [amd64, arm64]
|
||||||
- <<: *build_defaults
|
- <<: *build_defaults
|
||||||
id: linux
|
id: linux
|
||||||
goos: [linux]
|
goos: [linux]
|
||||||
goarch: [386, amd64, arm64]
|
goarch: [amd64, arm64]
|
||||||
- <<: *build_defaults
|
- <<: *build_defaults
|
||||||
id: windows
|
id: windows
|
||||||
goos: [windows]
|
goos: [windows]
|
||||||
goarch: [386, amd64]
|
goarch: [amd64]
|
||||||
|
|||||||
Reference in New Issue
Block a user