Add fastlane match token

This commit is contained in:
Ian VanSchooten 2024-10-01 15:05:42 -04:00
parent a4703d1403
commit 3e58c41a0e
1 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,12 @@ jobs:
echo "APP_STORE_CONNECT_API_KEY_KEY_FILEPATH=$AC_API_KEY_SECRET_PATH" >> $GITHUB_ENV echo "APP_STORE_CONNECT_API_KEY_KEY_FILEPATH=$AC_API_KEY_SECRET_PATH" >> $GITHUB_ENV
echo -n "$AC_API_KEY_SECRET_BASE64" | base64 --decode --output "$AC_API_KEY_SECRET_PATH" echo -n "$AC_API_KEY_SECRET_BASE64" | base64 --decode --output "$AC_API_KEY_SECRET_PATH"
- name: Place Github token for fastlane match
env:
TOKEN: ${{ secrets.MACHINE_USER_PAT }}
run:
echo "MATCH_GIT_BASIC_AUTHORIZATION=$(echo -n "defined-machine:${TOKEN}" | base64)" >> $GITHUB_ENV
- name: install dependencies - name: install dependencies
env: env:
TOKEN: ${{ secrets.MACHINE_USER_PAT }} TOKEN: ${{ secrets.MACHINE_USER_PAT }}