Skip to content

Commit

Permalink
add build.sh for action-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
sfwn committed Jul 5, 2024
1 parent f11ea15 commit 42c17be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmd/action-runner/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -o errexit -o pipefail

# goto current bash script dir
cd "$(dirname "$0")"

rm -fr bin

ARCHES="amd64 arm64"

for arch in $ARCHES; do
GOOS=darwin GOARCH=$arch go build -o bin/action-runner-$arch
done

0 comments on commit 42c17be

Please sign in to comment.