From 6adafd713410f0c1b3d67fc2d7d23230d005a909 Mon Sep 17 00:00:00 2001 From: Ron de las Alas Date: Wed, 15 Nov 2023 14:10:29 -0500 Subject: [PATCH] ci: Conigure fastlane and add matchfile --- .github/workflows/ci-cd.yml | 8 ++++++++ .gitignore | 2 +- fastlane/Matchfile | 7 +++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 fastlane/Matchfile diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 13f949d..da2e02e 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 diff --git a/.gitignore b/.gitignore index b9e2be3..6d916a2 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,7 @@ npm-* /locale # Fastlane -**/fastlane/Matchfile +# **/fastlane/Matchfile **/fastlane/report.xml **/fastlane/Preview.html **/fastlane/screenshots diff --git a/fastlane/Matchfile b/fastlane/Matchfile new file mode 100644 index 0000000..d330e4e --- /dev/null +++ b/fastlane/Matchfile @@ -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