diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19f9118..c5f93fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: Release on: workflow_dispatch: push: + branches: fix-windows-build tags: "v*" jobs: @@ -123,32 +124,3 @@ jobs: with: name: tcheran-macos path: tcheran-${{ needs.metadata.outputs.engine-version }}-macos - - release: - needs: [metadata, build-linux, build-windows, build-macos] - runs-on: ubuntu-latest - - permissions: - contents: write - - steps: - - uses: actions/checkout@v4 - - - uses: actions/download-artifact@v4 - with: - pattern: tcheran-* - path: bins - merge-multiple: true - - - name: Create release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - changelog_anchor=$(echo ${{ needs.metadata.outputs.engine-version }} | tr -d 'v.') - chmod +x bins/*linux* - chmod +x bins/*macos* - gh release create --draft \ - --notes "https://github.com/jgilchrist/tcheran/blob/master/CHANGELOG.md#${changelog_anchor}" \ - --title ${{ needs.metadata.outputs.engine-version }} \ - ${{ needs.metadata.outputs.engine-version }} \ - bins/*