Skip to content

Commit

Permalink
fix target os/arch error
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Mar 7, 2020
1 parent 521b167 commit 61cc78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EXT=''
if [ ${INPUT_GOOS} == 'windows' ]; then
EXT='.exe'
fi
go build -o "${BINARY_NAME}${EXT}"
GOOS=${INPUT_GOOS} GOARCH=${INPUT_GOARCH} go build -o "${BINARY_NAME}${EXT}"
ls -lh


Expand Down

0 comments on commit 61cc78e

Please sign in to comment.