-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 1.11 KB
/
Copy pathios-iap-product-readback.yml
File metadata and controls
41 lines (33 loc) · 1.11 KB
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
name: iOS IAP Product Readback
on:
workflow_dispatch:
permissions:
contents: read
jobs:
verify-ios-iap-products:
runs-on: ubuntu-latest
environment: production
env:
APPSTORE_KEY_ID: ${{ secrets.APPSTORE_KEY_ID }}
APPSTORE_ISSUER_ID: ${{ secrets.APPSTORE_ISSUER_ID }}
APPSTORE_PRIVATE_KEY: ${{ secrets.APPSTORE_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install ASC client dependencies
run: python -m pip install --upgrade requests pyjwt cryptography
- name: Run unit tests
run: PYTHONPATH=. python scripts/tests/test_asc_verify_iap_products.py
- name: Read back App Store Connect product states
run: |
python scripts/asc/asc_verify_iap_products.py \
--json-out ios-iap-product-readback.json
- uses: actions/upload-artifact@v5
if: always()
with:
name: ios-iap-product-readback
path: ios-iap-product-readback.json
if-no-files-found: ignore
retention-days: 1