name: Release macOS on: workflow_dispatch: inputs: version: description: 'Version, e.g. 1.3.3 or 1.3.4-beta.1' required: true type: string channel: description: Release channel required: true default: stable type: choice options: [stable, beta] jobs: release: if: github.ref == 'refs/heads/main' runs-on: claudechecker-macos-arm64 env: VERSION: ${{ inputs.version }} CHANNEL: ${{ inputs.channel }} steps: - uses: actions/checkout@v4 - name: Build universal macOS app run: bash scripts/build-macos.sh - name: Publish release and update feed env: GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: python3 scripts/publish-release.py