From 980c5f8eef5027f25e44919687f5764b46905714 Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Mon, 3 Jun 2024 11:25:36 -0400 Subject: [PATCH] Revert "add windows build" This reverts commit 08b076610b589ab7b3e84e39cf8ec8987e53320d. --- .github/workflows/build.yml | 42 +++++++------------------------------ 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c5dd06e..3b033343 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,40 +74,12 @@ jobs: name: gptscript-credential-helpers path: ${{ env.DESTDIR }}/* if-no-files-found: error - - windows_build: - runs-on: windows-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - - name: Build - run: | - make build-wincred - mv ${{ env.DESTDIR }}/gptscript-credential-wincred ${{ env.DESTDIR }}/gptscript-credential-wincred.exe - - name: Upload Windows Artifact - uses: actions/upload-artifact@v4 - with: - name: gptscript-credential-helpers-windows - path: ${{ env.DESTDIR }}/*wincred* - if-no-files-found: error - - create_release: - runs-on: ubuntu-latest - needs: [ build, windows_build ] - if: startsWith(github.ref, 'refs/tags/v') - steps: - - run: sleep 10 - - name: Download all artifacts - uses: actions/download-artifact@v4 - - run: ls -lR - - name: Create Release - uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 + - + name: GitHub Release + if: startsWith(github.ref, 'refs/tags/v') + uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # v2.0.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: draft: true - files: gptscript-credential-helpers*/* + files: ${{ env.DESTDIR }}/*