-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
36 lines (34 loc) · 1.1 KB
/
action.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
name: import-system-symbols-from-ipsw
inputs:
gcp_service_key:
required: true
sentry_auth_token:
required: true
os_name:
required: true
os_version:
default: 'latest'
fetch_ipsw:
default: true
fetch_ota:
default: false
sentry_dsn:
required: true
runs:
using: composite
steps:
- uses: ./.github/actions/setup-import-system-symbols
with:
gcp_service_key: ${{ inputs.gcp_service_key }}
- name: Import symbols from IPSW
env:
SENTRY_DSN: ${{ inputs.sentry_dsn }}
shell: bash
if: ${{ inputs.fetch_ipsw }}
run: sentry-cli monitors run ${{ inputs.cron_monitor_slug }} -- python3 import_system_symbols_from_ipsw.py --os-name ${{ inputs.os_name }} --os-version ${{ inputs.os_version }} --type=ipsw
- name: Import symbols from OTA
env:
SENTRY_DSN: ${{ inputs.sentry_dsn }}
shell: bash
if: ${{ inputs.fetch_ota }}
run: sentry-cli monitors run ${{ inputs.cron_monitor_slug }} -- python3 import_system_symbols_from_ipsw.py --os-name ${{ inputs.os_name }} --os-version ${{ inputs.os_version }} --type=ota