Skip to content

Commit

Permalink
Merge pull request #33 from uyuni-project/test-build-version
Browse files Browse the repository at this point in the history
build that binaries can run on older distros
  • Loading branch information
mcalmer authored May 21, 2024
2 parents 46c0cca + 389bd6b commit 7ffc98c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
build:
runs-on: ubuntu-latest

env:
CGO_ENABLED: 0

steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
Expand All @@ -22,3 +24,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CGO_ENABLED: 0

0 comments on commit 7ffc98c

Please sign in to comment.