mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-18 10:19:48 -05:00
ci: Conigure fastlane and add matchfile
This commit is contained in:
parent
5abd2acf49
commit
6adafd7134
3 changed files with 16 additions and 1 deletions
8
.github/workflows/ci-cd.yml
vendored
8
.github/workflows/ci-cd.yml
vendored
|
@ -26,6 +26,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
environment:
|
environment:
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||||
|
AC_USERNAME: ${{ secrets.AC_USERNAME }}
|
||||||
|
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
@ -45,6 +49,10 @@ jobs:
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run 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
|
- name: Fastlane
|
||||||
if: matrix.os == 'macos-latest' && vars.SCRATCH_SHOULD_SIGN
|
if: matrix.os == 'macos-latest' && vars.SCRATCH_SHOULD_SIGN
|
||||||
run: fastlane circleci
|
run: fastlane circleci
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -27,7 +27,7 @@ npm-*
|
||||||
/locale
|
/locale
|
||||||
|
|
||||||
# Fastlane
|
# Fastlane
|
||||||
**/fastlane/Matchfile
|
# **/fastlane/Matchfile
|
||||||
**/fastlane/report.xml
|
**/fastlane/report.xml
|
||||||
**/fastlane/Preview.html
|
**/fastlane/Preview.html
|
||||||
**/fastlane/screenshots
|
**/fastlane/screenshots
|
||||||
|
|
7
fastlane/Matchfile
Normal file
7
fastlane/Matchfile
Normal 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
|
Loading…
Reference in a new issue