Add phone auth and upgrade firebase and google service version #18
Workflow file for this run
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: Publish Release | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
publish: | |
# remove this check when your secrets are setup and you're ready to publish | |
# if: ${{ github.repository == 'cortinico/kotlin-android-template'}} | |
runs-on: [ubuntu-latest] | |
env: | |
GRADLE_OPTS: -Dorg.gradle.parallel=false | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Publish to Maven Local | |
run: ./gradlew publishToMavenLocal | |
env: | |
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.GPG_SIGNING_PASSPHRASE }} | |
- name: Upload Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'release-artifacts' | |
path: '~/.m2/repository/' | |
- name: Publish to the Snapshot Repository | |
run: ./gradlew publishReleasePublicationToNexusRepository | |
env: | |
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.GPG_SIGNING_PASSPHRASE }} | |
ORG_GRADLE_PROJECT_NEXUS_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
ORG_GRADLE_PROJECT_NEXUS_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} |