Skip to content

Commit

Permalink
Add a step for the project configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 21, 2024
1 parent 460f852 commit 925edff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,11 @@ jobs:
Scripts/add-apple-certificate.sh \
${{ secrets.SRGSSR_APPLE_DEV_CERTIFICATE_B64 }}
- name: Configure environment
run: |
Scripts/configure-environment.sh \
${{ secrets.APP_STORE_CONNECT_API_KEY_P8 }} \
${{ secrets.APPLE_ACCOUNT_INFO_B64 }}
- name: Archive the demo
run: sleep 3600 #make archive-demo-${{ matrix.platform }}
6 changes: 3 additions & 3 deletions Scripts/configure-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ then
exit 1
fi

mkdir -p ../Configuration
echo "$apple_account_info_b64" | base64 --decode > ../Configuration/.env
echo "$apple_api_key_p8" > ../Configuration/AppStoreConnect_API_Key.p8
mkdir -p Configuration
echo "$apple_account_info_b64" | base64 --decode > Configuration/.env
echo "$apple_api_key_p8" > Configuration/AppStoreConnect_API_Key.p8

0 comments on commit 925edff

Please sign in to comment.