Skip to content

Commit 86d781b

Browse files
committed
fix: disable windows build
1 parent 4649391 commit 86d781b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,19 @@ jobs:
3636
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
3737
- name: Copy .env file
3838
run: mv .env.sample .env
39-
- name: Package files for windows
40-
run: |
41-
make clean && \
42-
CGO_ENABLED=1 GOOS=windows CC=/usr/bin/x86_64-w64-mingw32-gcc make && \
43-
mv build/server build/server.exe && \
44-
zip -vr authorizer-${VERSION}-windows-amd64.zip .env app/build build templates
39+
# - name: Package files for windows
40+
# run: |
41+
# make clean && \
42+
# CGO_ENABLED=1 GOOS=windows CC=/usr/bin/x86_64-w64-mingw32-gcc make && \
43+
# mv build/server build/server.exe && \
44+
# zip -vr authorizer-${VERSION}-windows-amd64.zip .env app/build build templates
4545
- name: Package files for linux
4646
run: |
4747
make clean && \
4848
CGO_ENABLED=1 make && \
4949
tar cvfz authorizer-${VERSION}-linux-amd64.tar.gz .env app/build build templates
5050
- name: Upload assets
5151
run: |
52-
github-assets-uploader -f authorizer-${VERSION}-windows-amd64.zip -mediatype application/zip -repo authorizerdev/authorizer -token ${{secrets.RELEASE_TOKEN}} -tag ${VERSION} && \
5352
github-assets-uploader -f authorizer-${VERSION}-linux-amd64.tar.gz -mediatype application/gzip -repo authorizerdev/authorizer -token ${{secrets.RELEASE_TOKEN}} -tag ${VERSION}
5453
- name: Log in to Docker Hub
5554
uses: docker/login-action@v1

0 commit comments

Comments
 (0)