From 86d781b210f05bf87e1a0de33f0e4dc17495e3e3 Mon Sep 17 00:00:00 2001 From: Lakhan Samani Date: Wed, 27 Oct 2021 12:10:44 +0530 Subject: [PATCH] fix: disable windows build --- .github/workflows/release.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6250bfb..48a9dea 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,12 +36,12 @@ jobs: run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV} - name: Copy .env file run: mv .env.sample .env - - name: Package files for windows - run: | - make clean && \ - CGO_ENABLED=1 GOOS=windows CC=/usr/bin/x86_64-w64-mingw32-gcc make && \ - mv build/server build/server.exe && \ - zip -vr authorizer-${VERSION}-windows-amd64.zip .env app/build build templates + # - name: Package files for windows + # run: | + # make clean && \ + # CGO_ENABLED=1 GOOS=windows CC=/usr/bin/x86_64-w64-mingw32-gcc make && \ + # mv build/server build/server.exe && \ + # zip -vr authorizer-${VERSION}-windows-amd64.zip .env app/build build templates - name: Package files for linux run: | make clean && \ @@ -49,7 +49,6 @@ jobs: tar cvfz authorizer-${VERSION}-linux-amd64.tar.gz .env app/build build templates - name: Upload assets run: | - github-assets-uploader -f authorizer-${VERSION}-windows-amd64.zip -mediatype application/zip -repo authorizerdev/authorizer -token ${{secrets.RELEASE_TOKEN}} -tag ${VERSION} && \ github-assets-uploader -f authorizer-${VERSION}-linux-amd64.tar.gz -mediatype application/gzip -repo authorizerdev/authorizer -token ${{secrets.RELEASE_TOKEN}} -tag ${VERSION} - name: Log in to Docker Hub uses: docker/login-action@v1