From 84804e9afdf6ec7c436131e457e52f2aac64bb76 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Tue, 26 Dec 2023 20:48:56 +0100 Subject: [PATCH] ci: remove winget workflow All releases that aren't directly maintained by us should live in the `neovim/neovim-releases` repository to make it clear that neovim isn't directly responsible for it and to correctly manage expectations that it's provided on a best-effort case. Closes https://github.com/neovim/neovim/issues/26717. --- .github/workflows/release.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b7012b060..0b33b7383f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -204,33 +204,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@v3 - - 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 }}