aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedant <83997633+vedantmgoyal2009@users.noreply.github.com>2022-10-01 22:43:44 +0530
committerGitHub <noreply@github.com>2022-10-01 10:13:44 -0700
commit618d21fcc9635051a16b67310e51f2729252a46f (patch)
tree981fb68fa3dda2f390bda7f76ff8199250f8a63a
parenta5e347ce1df65be37c56e84c2a243eeaeaeeea5f (diff)
downloadrneovim-618d21fcc9635051a16b67310e51f2729252a46f.tar.gz
rneovim-618d21fcc9635051a16b67310e51f2729252a46f.tar.bz2
rneovim-618d21fcc9635051a16b67310e51f2729252a46f.zip
ci(publish-winget): use versioned tags for action #20417
-rw-r--r--.github/workflows/release.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 86067a34d2..e713e3969a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -233,10 +233,10 @@ jobs:
steps:
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly')
name: Publish stable
- uses: vedantmgoyal2009/winget-releaser@latest
+ uses: vedantmgoyal2009/winget-releaser@v1
with:
identifier: Neovim.Neovim
- release-tag: ${{ github.event.inputs.tag_name || github.ref }}
+ release-tag: ${{ github.event.inputs.tag_name || github.ref_name }}
token: ${{ secrets.WINGET_TOKEN }}
- if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
name: Get nightly version
@@ -248,7 +248,7 @@ jobs:
echo "::set-output name=version::$VERSION"
- if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
name: Publish nightly
- uses: vedantmgoyal2009/winget-releaser@latest
+ uses: vedantmgoyal2009/winget-releaser@v1
with:
identifier: Neovim.Neovim.Nightly
version: ${{ steps.get-version.outputs.version }}