Update Winget #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Winget | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'JSON/**.json' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repo | |
uses: actions/checkout@v3 | |
- name: read json | |
id: appJson | |
uses: RadovanPelka/[email protected] | |
with: | |
path: "JSON/perimeter81.json" | |
- name: Run Komac | |
uses: michidk/[email protected] | |
with: | |
komac-version: 1.9.1 | |
args: 'update --id ${{ steps.appJson.outputs.package_id }} --version ${{ steps.appJson.outputs.version_number }} --urls ${{ steps.appJson.outputs.msi_url }} --submit --token ${{ secrets.GH_TOKEN }}' |