update workflows

This commit is contained in:
Violet Caulfield
2025-02-04 14:47:20 -06:00
parent 468aae20c4
commit bdfbaf95a2
2 changed files with 32 additions and 0 deletions

32
.github/workflows/build-ios.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: build-ios
on:
push:
branches-ignore:
- "main"
jobs:
build-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Echo package.json version to Github ENV
run: echo VERISON_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
- run: npm run init
- name: Output App Store Connect API Key JSON to Fastlane
run: echo -e '${{ secrets.APPSTORE_CONNECT_API_KEY_JSON }}' > appstore_connect_api_key.json
working-directory: ./ios/fastlane
- run: fastlane build
working-directory: ./ios
env:
# FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
APPSTORE_CONNECT_API_KEY_JSON: ${{ secrets.APPSTORE_CONNECT_API_KEY_JSON }}
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_REPO_PAT: "anultravioletaurora:${{ secrets.SIGNING_REPO_PAT }}"