Merge pull request #71 from actions/h2floh/update_gorelease_architectures

Changes to release workflow and architecture options
This commit is contained in:
Florian Wagner
2023-03-21 10:59:46 +09:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -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}}

View File

@@ -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]