Merge pull request #71 from actions/h2floh/update_gorelease_architectures
Changes to release workflow and architecture options
This commit is contained in:
6
.github/workflows/releases.yml
vendored
6
.github/workflows/releases.yml
vendored
@@ -13,14 +13,14 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v3
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
- name: Set CURRENT_TAG
|
||||
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
@@ -5,12 +5,12 @@ builds:
|
||||
binary: bin/actions-sync
|
||||
id: macos
|
||||
goos: [darwin]
|
||||
goarch: [amd64]
|
||||
goarch: [amd64, arm64]
|
||||
- <<: *build_defaults
|
||||
id: linux
|
||||
goos: [linux]
|
||||
goarch: [386, amd64, arm64]
|
||||
goarch: [amd64, arm64]
|
||||
- <<: *build_defaults
|
||||
id: windows
|
||||
goos: [windows]
|
||||
goarch: [386, amd64]
|
||||
goarch: [amd64]
|
||||
|
||||
Reference in New Issue
Block a user