Skip to content

Commit

Permalink
Merge pull request #71 from actions/h2floh/update_gorelease_architect…
Browse files Browse the repository at this point in the history
…ures

Changes to release workflow and architecture options
  • Loading branch information
Florian Wagner committed Mar 21, 2023
2 parents 4ceed91 + 90b101d commit 416384c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 416384c

Please sign in to comment.