Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
revelaction authored Oct 20, 2023
1 parent 1df2a1a commit d97dfd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
matrix:
include:
- {GOOS: linux, GOARCH: amd64}
- {GOOS: linux, GOARCH: arm64}
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand All @@ -30,7 +31,7 @@ jobs:
echo "$version tag is $VERSION"
DIR="$(mktemp -d)"
mkdir "$DIR/privage"
sudo apt-get -y install pkg-config libpcsclite-dev libpcsclite1 pcscd pcsc-tools build-essential pkg-config
sudo apt-get -y install pkg-config libpcsclite-dev libpcsclite1 pcscd pcsc-tools build-essential pkg-config gcc-aarch64-linux-gnu
go build -o "$DIR/privage" -ldflags "-X main.Version=$VERSION" -trimpath ./cmd/...
tar -cvzf "privage-$VERSION-$GOOS-$GOARCH.tar.gz" -C "$DIR" privage
env:
Expand Down

0 comments on commit d97dfd2

Please sign in to comment.