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 6
6
7
7
jobs :
8
8
publish :
9
- runs-on : windows-latest # Action can only be run on windows
9
+ runs-on : ubuntu-latest
10
+
10
11
steps :
11
12
- name : Extract version from tag
12
13
id : extract_version
13
14
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
17
18
with :
18
19
identifier : Microsoft.OpenSSH.Beta
19
20
version : ${{ steps.extract_version.outputs.version }}
You can’t perform that action at this time.
0 commit comments