name: Release Windows on: workflow_dispatch: inputs: version: description: 'Version, e.g. 0.0.1-beta.64' required: true type: string channel: description: Release channel required: true default: windows-beta type: choice options: [windows-beta, windows-stable] jobs: release: if: github.ref == 'refs/heads/main' runs-on: claudechecker-windows-x64 defaults: run: shell: powershell env: VERSION: ${{ inputs.version }} CHANNEL: ${{ inputs.channel }} steps: - uses: actions/checkout@v4 - name: Build Windows installer run: ./scripts/build-windows.ps1 -Version $env:VERSION - name: Publish release and update feed env: GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: python scripts/publish-release.py