Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit bae7cb7

Browse files
committed
fix: update suffix step name
1 parent 0f85ed0 commit bae7cb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
uses: actions/setup-go@v2
2424
with:
2525
go-version: 1.17
26-
- name: decide build file suffix
26+
- name: add build file suffix
2727
if: ${{ matrix.goos == 'windows' }}
28-
run: echo "suffix=.exe" >> $GITHUB_ENV
28+
run: echo "SUFFIX=.exe" >> $GITHUB_ENV
2929
- name: build project
3030
env:
3131
GOOS: ${{ matrix.goos }}
3232
GOARCH: ${{ matrix.goarch }}
33-
run: go build -o build/monstercat_${{ matrix.goos }}_${{ matrix.goarch }}${{ env.suffix }} main.go
33+
run: go build -o build/monstercat_${{ matrix.goos }}_${{ matrix.goarch }}${{ env.SUFFIX }} main.go
3434
- name: store binary
3535
uses: actions/upload-artifact@v2
3636
with:

0 commit comments

Comments
 (0)