mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-12 18:51:21 +01:00
OPS: Cache provision profiles
This commit is contained in:
parent
0db76c63c9
commit
f26177a6ce
1 changed files with 26 additions and 2 deletions
|
@ -78,8 +78,32 @@ jobs:
|
||||||
ITC_TEAM_ID: ${{ secrets.ITC_TEAM_ID }}
|
ITC_TEAM_ID: ${{ secrets.ITC_TEAM_ID }}
|
||||||
ITC_TEAM_NAME: ${{ secrets.ITC_TEAM_NAME }}
|
ITC_TEAM_NAME: ${{ secrets.ITC_TEAM_NAME }}
|
||||||
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
|
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
|
||||||
run: bundle exec fastlane ios setup_provisioning_profiles
|
run: |
|
||||||
|
bundle exec fastlane ios setup_provisioning_profiles
|
||||||
working-directory: ./ios
|
working-directory: ./ios
|
||||||
|
- name: Cache Provisioning Profiles
|
||||||
|
id: cache_provisioning_profiles
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/Library/MobileDevice/Provisioning Profiles
|
||||||
|
key: ${{ runner.os }}-provisioning-profiles-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-provisioning-profiles-
|
||||||
|
- name: Check Cache Status for Provisioning Profiles
|
||||||
|
run: |
|
||||||
|
if [ -n "${{ steps.cache_provisioning_profiles.outputs.cache-hit }}" ]; then
|
||||||
|
echo "Provisioning profiles were restored from cache."
|
||||||
|
else
|
||||||
|
echo "No cache found for provisioning profiles. A new cache will be created."
|
||||||
|
fi
|
||||||
|
- name: Verify Provisioning Profiles Exist
|
||||||
|
run: |
|
||||||
|
if [ -d "~/Library/MobileDevice/Provisioning Profiles" ]; then
|
||||||
|
echo "Provisioning profiles are available in the cache."
|
||||||
|
ls -la ~/Library/MobileDevice/Provisioning Profiles
|
||||||
|
else
|
||||||
|
echo "Provisioning profiles directory does not exist."
|
||||||
|
fi
|
||||||
- name: Generate Build Number based on timestamp
|
- name: Generate Build Number based on timestamp
|
||||||
id: generate_build_number
|
id: generate_build_number
|
||||||
run: |
|
run: |
|
||||||
|
@ -171,4 +195,4 @@ jobs:
|
||||||
...repo,
|
...repo,
|
||||||
issue_number: prNumber,
|
issue_number: prNumber,
|
||||||
body: message,
|
body: message,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue