We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8e86fb commit fa80857Copy full SHA for fa80857
.github/dependabot.yml
@@ -0,0 +1,6 @@
1
+version: 2
2
+updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
.github/workflows/winget.yml
@@ -0,0 +1,20 @@
+name: Publish to WinGet
+
+on:
+ release:
+ types: [released]
7
+jobs:
8
+ publish:
9
+ runs-on: windows-latest # Action can only be run on windows
10
+ steps:
11
+ - name: Extract version from tag
12
+ id: extract_version
13
+ 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@c9092bc79d77d72dd54e036af65bcc8814a7e599
17
+ with:
18
+ identifier: Microsoft.OpenSSH.Beta
19
+ version: ${{ steps.extract_version.outputs.version }}
20
+ token: ${{ secrets.WINGET_TOKEN }}
0 commit comments