We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da3aed6 commit ea42c6eCopy full SHA for ea42c6e
1 file changed
.github/workflows/build.yml
@@ -72,13 +72,9 @@ jobs:
72
GOOS: ${{ matrix.goos }}
73
GOARCH: ${{ matrix.goarch }}
74
run: |
75
- BINARY_NAME="NetGATE"
+ OUTPUT_NAME="NetGATE-${{ matrix.goos }}-${{ matrix.goarch }}"
76
if [ "${{ matrix.goos }}" = "windows" ]; then
77
- BINARY_NAME="${BINARY_NAME}.exe"
78
- fi
79
- OUTPUT_NAME="${BINARY_NAME}-${{ matrix.goos }}-${{ matrix.goarch }}"
80
- if [ "${{ matrix.goos }}" = "windows" ]; then
81
- go build -v -o "${OUTPUT_NAME}"
+ go build -v -o "${OUTPUT_NAME}.exe"
82
else
83
go build -v -o "${OUTPUT_NAME}"
84
fi
0 commit comments