ycdemo / fzf / .github/ workflows/ winget.yml

name: Publish to Winget
on:
  workflow_call:
    inputs:
      release-tag:
        type: string
        required: true
    secrets:
      WINGET_TOKEN:
        required: true
  workflow_dispatch:
    inputs:
      release-tag:
        description: 'Release tag to submit (e.g. v0.73.1)'
        required: true
        type: string

# winget-releaser passes this token to unpinned actions. Submission uses
# WINGET_TOKEN.
permissions:
  contents: read

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: vedantmgoyal2009/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e # v2
        with:
          identifier: junegunn.fzf
          release-tag: ${{ inputs.release-tag }}
          installers-regex: '-windows_(arm64|amd64)\.(zip|msi)
		
		
		
		
	


          token: ${{ secrets.WINGET_TOKEN }}
\n token: ${{ secrets.WINGET_TOKEN }}\n","preview":null,"history":null,"version":"822f4735df89e7e17f398d33db7557440ef26b52"},"/_session?shell=1":null}