Skip to content

Commit

Permalink
fix: invalid syntax error in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mlcdf committed Nov 23, 2022
1 parent 2962a61 commit 23a5590
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
export CGO_ENABLED=0
export LDFLAGS="-X 'main.Version=${VERSION}'"
GOOS=linux GOARCH=amd64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags ${LDFLAGS}
GOOS=linux GOARCH=arm GOARM=6 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags ${LDFLAGS}
GOOS=linux GOARCH=arm64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags ${LDFLAGS}
GOOS=darwin GOARCH=amd64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags ${LDFLAGS}
GOOS=windows GOARCH=amd64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}.exe" -ldflags ${LDFLAGS}
GOOS=linux GOARCH=amd64 go build -v -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags "${LDFLAGS}"
GOOS=linux GOARCH=arm GOARM=6 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags "${LDFLAGS}"
GOOS=linux GOARCH=arm64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags "${LDFLAGS}"
GOOS=darwin GOARCH=amd64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}" -ldflags "${LDFLAGS}"
GOOS=windows GOARCH=amd64 go build -o "owh-${VERSION}-${GOOS}-${GOARCH}.exe" -ldflags "${LDFLAGS}"
- name: Upload release artifacts
uses: actions/github-script@v3
Expand Down

0 comments on commit 23a5590

Please sign in to comment.