Skip to content

v9.5.0.0p1-Beta

v9.5.0.0p1-Beta #7

Workflow file for this run

name: Publish to WinGet
on:
release:
types: [released]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
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: vedantmgoyal2009/winget-releaser@93fd8b606a1672ec3e5c6c3bb19426be68d1a8b0
with:
identifier: Microsoft.OpenSSH.Beta
version: ${{ steps.extract_version.outputs.version }}
token: ${{ secrets.WINGET_TOKEN }}
fork-user: pwshBot