We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ubuntu-latest
1 parent d3823f9 commit 49e1dc4Copy full SHA for 49e1dc4
1 file changed
.github/workflows/winget.yml
@@ -6,14 +6,15 @@ on:
6
7
jobs:
8
publish:
9
- runs-on: windows-latest # Action can only be run on windows
+ runs-on: ubuntu-latest
10
+
11
steps:
12
- name: Extract version from tag
13
id: extract_version
14
run: |
- $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
+ version=$(echo "${{ github.event.release.tag_name }}" | grep -oP "(?<=v)[\d.]+")
+ echo "version=$version" >> $GITHUB_OUTPUT
17
+ - uses: vedantmgoyal2009/winget-releaser@22fcaf202ea4df1e621b6fc0c88be192ede74c92
18
with:
19
identifier: Microsoft.OpenSSH.Beta
20
version: ${{ steps.extract_version.outputs.version }}
0 commit comments