Last active
October 16, 2023 13:47
-
-
Save victory316/3222ff54c07c3b982c8e8e278115ca8e to your computer and use it in GitHub Desktop.
Firebase release with fastlane
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test distribution to Firebase | |
on: workflow_dispatch | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: 17 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Create Firebase Service Credentials file | |
run: | | |
echo "$FIREBASE_CREDENTIALS" > firebase_credentials.json.b64 | |
base64 -d -i firebase_credentials.json.b64 > firebase_credentials.json | |
env: | |
FIREBASE_CREDENTIALS: ${{ secrets.FIREBASE_CREDENTIALS }} | |
- run: fastlane publishDevDebug | |
env: | |
APP_ID: ${{ secrets.DEV_APP_ID }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment