ci: Conigure fastlane and add matchfile

This commit is contained in:
Ron de las Alas 2023-11-15 14:10:29 -05:00
parent 5abd2acf49
commit 6adafd7134
3 changed files with 16 additions and 1 deletions

View file

@ -26,6 +26,10 @@ jobs:
shell: bash
environment:
name: ${{ matrix.os }}
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
AC_USERNAME: ${{ secrets.AC_USERNAME }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
@ -45,6 +49,10 @@ jobs:
run: npm ci
- name: Test
run: npm run test
- name: Setup Keys for Fastlane
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.FASTLANE_DEPLOY_KEY }}
- name: Fastlane
if: matrix.os == 'macos-latest' && vars.SCRATCH_SHOULD_SIGN
run: fastlane circleci

2
.gitignore vendored
View file

@ -27,7 +27,7 @@ npm-*
/locale
# Fastlane
**/fastlane/Matchfile
# **/fastlane/Matchfile
**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots

7
fastlane/Matchfile Normal file
View file

@ -0,0 +1,7 @@
git_url("git@github.com:scratchfoundation/scratch-fastlane-match-files.git")
storage_mode("git")
type("development") # The default type, can be: appstore, adhoc, enterprise or development
# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"])
# username("user@fastlane.tools") # Your Apple Developer Portal username
app_identifier("edu.mit.scratch.scratch-desktop") # The bundle identifier of your app
username("bot-apple@scratch.mit.edu") # Your Apple email address