oh-my-posh/.github/workflows/winget.yml
Jan De Dobbeleer ee5084d7a3
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
chore: generalise notify workflows
2024-11-25 08:46:44 +01:00

27 lines
703 B
YAML

name: Winget
on:
workflow_dispatch:
inputs:
version:
description: 'The latest version'
required: true
release:
description: 'The release id'
required: false
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 👋
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Create manifest and submit PR 📦
run: |
./build.ps1 -Version "${{ github.event.inputs.version }}" -Token $env:WINGETCREATE_TOKEN