Compile the specified CPU architecture #1777
Answered
by
caarlos0
lostmaniac
asked this question in
Q&A
-
For example, I want to compile only x86_64 files. But I think there are many defaults. Does it support specific CPU architecture? I searched the documentation, but did not find any relevant instructions. thank you very much. |
Beta Was this translation helpful? Give feedback.
Answered by
caarlos0
Aug 31, 2020
Replies: 2 comments 1 reply
-
you can specify check https://goreleaser.com/customization/build/ for more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
caarlos0
-
I have no build here: name: Release
on:
create:
tags:
- v*
jobs:
release:
name: Release on GitHub
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Validates GO releaser config
uses: docker://goreleaser/goreleaser:latest
with:
args: check
- name: Create release on GitHub
uses: docker://goreleaser/goreleaser:latest
with:
args: release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can specify
goarch: ['amd64']
on the build section.check https://goreleaser.com/customization/build/ for more details.