diff --git a/.github/workflows/winget-publish-release.yml b/.github/workflows/winget-publish-release.yml index 4824ecb..4e445ea 100644 --- a/.github/workflows/winget-publish-release.yml +++ b/.github/workflows/winget-publish-release.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Extract short version id: extract_version - run: echo "SHORT_VERSION=${{ $VERSION#*-v}}" >> $GITHUB_ENV + run: echo "SHORT_VERSION=${{ VERSION#*-v}}" >> $GITHUB_OUTPUT - name: Update Packages uses: michidk/winget-updater@latest @@ -25,7 +25,7 @@ jobs: komac-token: ${{ secrets.WINGET_TOKEN }} identifier: ${{ matrix.id }} repo: ${{ matrix.repo }} - url: https://github.com/${{ matrix.repo }}/releases/download/{VERSION}/mdns-browser_${{ env.SHORT_VERSION }}_x64-setup.exe + url: https://github.com/${{ matrix.repo }}/releases/download/{VERSION}/mdns-browser_${{ steps.extract_version.outputs.SHORT_VERSION }}_x64-setup.exe cleanup: name: Cleanup branches