Skip to content

Commit

Permalink
fixing ci: added path arg and cgo support
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Nov 23, 2023
1 parent f6fb4c6 commit 2c9af20
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packages-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4

- name: GCC multilib
run: |
sudo apt-get install gcc-multilib g++-multilib
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: ./cmd/rarimo-cored
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4

- name: GCC multilib
run: |
sudo apt-get install gcc-multilib g++-multilib
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: ./cmd/rarimo-cored
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
builds:
- id: linux-amd64-build
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64

0 comments on commit 2c9af20

Please sign in to comment.