forked from michaelwoods/onstar2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 6
90 lines (84 loc) · 3.17 KB
/
cas_notarize.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Notarize Assets with CAS
on:
workflow_dispatch:
#push:
# branches: [main]
workflow_run:
workflows: ["CodeQL"]
types: [completed]
#concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
jobs:
notarize-assets-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Notarize LICENSE
#--> Run the GitHub action
uses: codenotary/cas-notarize-asset-github-action@main
with:
# Whatever asset is being notarized, can be a target/ or dist/ compiled binary or any type of file
asset: LICENSE
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize README.md
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: README.md
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize Dockerfile
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: Dockerfile
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize HA-MQTT.md
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: HA-MQTT.md
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize package.json
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: package.json
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize package-lock.json
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: package-lock.json
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/commands.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/commands.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/diagnostic.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/diagnostic.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/index.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/index.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/logger.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/logger.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/measurement.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/measurement.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/mqtt.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/mqtt.js
cas_api_key: ${{ secrets.CAS_API_KEY }}
- name: Notarize src/vehicle.js
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: src/vehicle.js
cas_api_key: ${{ secrets.CAS_API_KEY }}