Skip to content

Commit 0ad18b4

Browse files
committed
fix: cache the session to reduce 2FA prompts
1 parent 6c3519b commit 0ad18b4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/sign.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
16+
17+
- name: Cache
18+
uses: actions/cache@v3
19+
with:
20+
path: ~/.fastlane
21+
key: session-${{ github.run_id }}
22+
restore-keys: |
23+
session
24+
1625
- name: Sign
1726
run: |
1827
PYTHONUNBUFFERED=1 ./sign.py

.semaphore/semaphore.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ blocks:
1515
commands:
1616
- checkout
1717
- nvm install 18
18+
- cache restore session
1819
- PYTHONUNBUFFERED=1 ./sign.py
20+
- cache delete session
21+
- cache store session ~/.fastlane
1922
secrets:
2023
- name: ios-signer

0 commit comments

Comments
 (0)