-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (52 loc) · 2.16 KB
/
UpdateWinget.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Update Winget
on:
workflow_dispatch:
push:
branches: ['main']
paths: ['JSON/**.json']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check out repo
uses: actions/checkout@v3
- name: read p81 json
id: app1
uses: RadovanPelka/[email protected]
with:
path: "JSON/perimeter81.json"
- name: Run Komac - p81
uses: michidk/[email protected]
with:
komac-version: 1.9.1
args: 'update --id ${{ steps.app1.outputs.package_id }} --version ${{ steps.app1.outputs.version_number }} --urls ${{ steps.app1.outputs.msi_url }} --submit --token ${{ secrets.GH_TOKEN }}'
- name: read thy.agent json
id: app2
uses: RadovanPelka/[email protected]
with:
path: "JSON/DelineaInc.ThycoticAgent.json"
- name: Run Komac - thy.agent
uses: michidk/[email protected]
with:
komac-version: 1.9.1
args: 'update --id ${{ steps.app2.outputs.product_name }} --version ${{ steps.app2.outputs.version_number }} --urls ${{ steps.app2.outputs.uri }} --submit --token ${{ secrets.GH_TOKEN }}'
- name: read thy.con json
id: app3
uses: RadovanPelka/[email protected]
with:
path: "JSON/DelineaInc.ThycoticApplicationControlAgent.json"
- name: Run Komac - thy.con
uses: michidk/[email protected]
with:
komac-version: 1.9.1
args: 'update --id ${{ steps.app3.outputs.product_name }} --version ${{ steps.app3.outputs.version_number }} --urls ${{ steps.app3.outputs.uri }} --submit --token ${{ secrets.GH_TOKEN }}'
- name: read thy.sec json
id: app4
uses: RadovanPelka/[email protected]
with:
path: "JSON/DelineaInc.ThycoticLocalSecurityAgent.json"
- name: Run Komac - thy.sec
uses: michidk/[email protected]
with:
komac-version: 1.9.1
args: 'update --id ${{ steps.app4.outputs.product_name }} --version ${{ steps.app4.outputs.version_number }} --urls ${{ steps.app4.outputs.uri }} --submit --token ${{ secrets.GH_TOKEN }}'