name: Release Windows Version on: workflow_dispatch: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' branches-ignore: - '*' jobs: release-windows: if: startsWith(github.ref, 'refs/tags/v') runs-on: windows-latest environment: production steps: - uses: actions/checkout@v4 - name: Golang Installation uses: actions/setup-go@v5 with: go-version: '1.24' - name: Golang build run: | cd src && go build -o windows-amd64.exe - name: Deploy artifact to release ${{ github.ref_name }} uses: AButler/upload-release-assets@v3.0 with: files: 'src/windows-amd64.exe' repo-token: ${{ secrets.GITHUB_TOKEN }} release-tag: ${{ github.ref_name }}