From cbc28106db56e7dc2a8db1301a90b08dcc56e0c5 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 22 Apr 2026 13:01:53 +0000 Subject: [PATCH] .gitea: add installer and archive steps for windows --- .gitea/workflows/release.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 41defedd00..efe76cf170 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -166,6 +166,24 @@ jobs: env: GETH_MINGW: 'C:\msys64\mingw64' + - name: "Create/upload archive (amd64)" + shell: cmd + run: | + go run build/ci.go archive -arch amd64 -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds + env: + WINDOWS_SIGNING_KEY: ${{ secrets.WINDOWS_SIGNING_KEY }} + AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} + + - name: "Create/upload NSIS installer (amd64)" + shell: cmd + run: | + set "PATH=C:\Program Files (x86)\NSIS;%PATH%" + go run build/ci.go nsis -arch amd64 -signer WINDOWS_SIGNING_KEY -upload gethstore/builds + del /Q build\bin\* + env: + WINDOWS_SIGNING_KEY: ${{ secrets.WINDOWS_SIGNING_KEY }} + AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} + - name: "Build (386)" shell: cmd run: | @@ -174,6 +192,24 @@ jobs: env: GETH_MINGW: 'C:\msys64\mingw32' + - name: "Create/upload archive (386)" + shell: cmd + run: | + go run build/ci.go archive -arch 386 -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds + env: + WINDOWS_SIGNING_KEY: ${{ secrets.WINDOWS_SIGNING_KEY }} + AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} + + - name: "Create/upload NSIS installer (386)" + shell: cmd + run: | + set "PATH=C:\Program Files (x86)\NSIS;%PATH%" + go run build/ci.go nsis -arch 386 -signer WINDOWS_SIGNING_KEY -upload gethstore/builds + del /Q build\bin\* + env: + WINDOWS_SIGNING_KEY: ${{ secrets.WINDOWS_SIGNING_KEY }} + AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} + docker: name: Docker Image runs-on: ubuntu-latest