From 23a55906d46126c434c0c63abb4b8f78867abc11 Mon Sep 17 00:00:00 2001 From: Maxime Le Conte des Floris Date: Wed, 23 Nov 2022 19:44:46 +0100 Subject: [PATCH] fix: invalid syntax error in release workflow --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd82cd0..ad984ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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