Skip to content

Commit

Permalink
fix building workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rainu committed Oct 5, 2020
1 parent 81a2a1a commit 9a98c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
if [ "$GOOS" = "windows" ]; then
BINARY=$BINARY.exe
fi
go build -a -installsuffix cgo -o $BINARY -v
go build -o $BINARY -v
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
if [ "$GOOS" = "windows" ]; then
BINARY=$BINARY.exe
fi
go build -a -installsuffix cgo -o $BINARY -v
go build -o $BINARY -v
#transfer BINARY env variable to following steps
echo "::set-output name=binary_name::$BINARY"
- name: Upload Release Asset
Expand Down

0 comments on commit 9a98c75

Please sign in to comment.