From 31a19c1894a7f07c47da35fcd6a726ee7defe4d8 Mon Sep 17 00:00:00 2001 From: Vedant <83997633+vedantmgoyal2009@users.noreply.github.com> Date: Sat, 1 Oct 2022 22:43:44 +0530 Subject: [PATCH] ci(publish-winget): use versioned tags for action #20417 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d49acb7d73..c56df42c64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -252,10 +252,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 @@ -267,7 +267,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 }}