aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-26 20:48:56 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-26 21:48:20 +0100
commit0da50da6e243df449c5fb64164aa44338f2a6d4b (patch)
tree9ebfd0786c57b299957b9fa12297dee1a5abea76
parent0009c337bc1b9e46c41add6f6bae86202835d97d (diff)
downloadrneovim-0da50da6e243df449c5fb64164aa44338f2a6d4b.tar.gz
rneovim-0da50da6e243df449c5fb64164aa44338f2a6d4b.tar.bz2
rneovim-0da50da6e243df449c5fb64164aa44338f2a6d4b.zip
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.
-rw-r--r--.github/workflows/release.yml30
1 files changed, 0 insertions, 30 deletions
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 }}