diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae3f10d74e..6452de9036 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -182,33 +182,3 @@ jobs: gh release create stable $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos/* nvim-linux64/* appimage/* nvim-win64/* fi gh release create $TAG_NAME $PRERELEASE --notes-file "$RUNNER_TEMP/notes.md" --title "$SUBJECT" --target $GITHUB_SHA nvim-macos/* nvim-linux64/* appimage/* nvim-win64/* - - publish-winget: - needs: publish - runs-on: windows-latest - steps: - - if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly') - name: Publish stable - uses: vedantmgoyal2009/winget-releaser@v2 - with: - identifier: Neovim.Neovim - release-tag: ${{ github.event.inputs.tag_name || github.ref_name }} - token: ${{ secrets.WINGET_TOKEN }} - - name: Fetch nightly build msi from previous job - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') - uses: actions/download-artifact@v4 - - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') - name: Get version from nightly build msi - id: get-version - run: | - Install-Module -Name 'Carbon.Windows.Installer' -Force - $VERSION = (Get-CMsi (Resolve-Path .\nvim-win64\nvim-win64.msi).Path).ProductVersion - "version=$VERSION" >> $env:GITHUB_OUTPUT - - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') - name: Publish nightly - uses: vedantmgoyal2009/winget-releaser@v2 - with: - identifier: Neovim.Neovim.Nightly - version: ${{ steps.get-version.outputs.version }} - release-tag: nightly - token: ${{ secrets.WINGET_TOKEN }}