2021-10-06 12:43:18 -07:00
|
|
|
name: Winget
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
version:
|
|
|
|
description: 'The latest version'
|
|
|
|
required: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
runs-on: windows-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: pwsh
|
|
|
|
working-directory: ${{ github.workspace }}/packages/winget
|
|
|
|
env:
|
|
|
|
WINGETCREATE_TOKEN: ${{ secrets.WINGETCREATE_TOKEN }}
|
|
|
|
steps:
|
|
|
|
- name: Checkout code 👋
|
2023-06-11 18:36:25 -07:00
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
2021-10-06 12:43:18 -07:00
|
|
|
- name: Create manifest and submit PR 📦
|
|
|
|
run: |
|
2021-11-25 02:06:33 -08:00
|
|
|
./build.ps1 -Version "${{ github.event.inputs.version }}" -Token $env:WINGETCREATE_TOKEN
|