mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-26 15:34:37 +02:00
Delete .github/workflows directory (#2344)
This commit is contained in:
parent
c9c0c26724
commit
2f3309f177
24
.github/workflows/winget.yml
vendored
24
.github/workflows/winget.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
name: Publish to WinGet
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [released]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Extract version from tag
|
|
||||||
id: extract_version
|
|
||||||
run: |
|
|
||||||
version=$(echo "${{ github.event.release.tag_name }}" | grep -oP "(?<=v)[\d.]+")
|
|
||||||
echo "version=$version" >> $GITHUB_OUTPUT
|
|
||||||
- uses: vedantmgoyal9/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e
|
|
||||||
with:
|
|
||||||
identifier: Microsoft.OpenSSH.Preview
|
|
||||||
version: ${{ steps.extract_version.outputs.version }}
|
|
||||||
token: ${{ secrets.WINGET_TOKEN }}
|
|
||||||
fork-user: pwshBot
|
|
Loading…
x
Reference in New Issue
Block a user