File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 publish :
9- runs-on : windows-latest # Action can only be run on windows
9+ runs-on : ubuntu-latest
10+
1011 steps :
1112 - name : Extract version from tag
1213 id : extract_version
1314 run : |
14- $ version = [regex]::Match( "${{ github.event.release.tag_name }}", "(?<=v)[\d.]+").Value
15- Write-Output "version=$version" >> $env: GITHUB_OUTPUT
16- - uses : vedantmgoyal2009/winget-releaser@44e43128f96fe5b4505d6e1f726ebb78ed228654
15+ version=$(echo "${{ github.event.release.tag_name }}" | grep -oP "(?<=v)[\d.]+")
16+ echo "version=$version" >> $GITHUB_OUTPUT
17+ - uses : vedantmgoyal2009/winget-releaser@22fcaf202ea4df1e621b6fc0c88be192ede74c92
1718 with :
1819 identifier : Microsoft.OpenSSH.Beta
1920 version : ${{ steps.extract_version.outputs.version }}
You can’t perform that action at this time.
0 commit comments