Skip to content

Commit

Permalink
github action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qpwedev committed Dec 11, 2023
1 parent c6b2071 commit 7ec97fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

- name: Build
run: |
if [ "${{ matrix.goos }}" = "windows" ]; then
if ($env:matrix_goos -eq "windows") {
go build
else
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build
fi
} else {
$env:GOOS=$env:matrix_goos; $env:GOARCH=$env:matrix_goarch; go build
}
- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 7ec97fb

Please sign in to comment.