Feat/customizing in app notification #170
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: Patch version, publish to Sona and create new GitHub release | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- master | |
paths-ignore: | |
- '.github/**' | |
workflow_dispatch: | |
jobs: | |
version: | |
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' | |
uses: rees46/workflow/.github/workflows/reusable-android-version.yaml@master | |
permissions: write-all | |
with: | |
appId: ${{ vars.PUBLIVERSIONER_ID }} | |
PROPERTIES_FILE: gradle.properties | |
SIGNING_SECRET_KEY_RING_FILE: com.rees46.key.gpg | |
SIGNING_SECRET_KEY_RING_FILE_LOCATION: ./personalization-sdk | |
OSSRH_USERNAME: ${{ vars.OSSRH_USERNAME }} | |
VARIANT_NAME: ${{ vars.REES_VARIANT_NAME }} | |
URL: ${{ vars.REES_REPO_URL }} | |
MAVEN_REPOSITORY_URL: ${{ vars.REES_MAVEN_URL }} | |
secrets: | |
SONATA_USERNAME: ${{ secrets.SONATA_USERNAME }} | |
SONATA_PASSWORD: ${{ secrets.SONATA_PASSWORD }} | |
appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SONATYPE_REES46: ${{ secrets.SONATYPE_REES46 }} | |
SONATYPE_PERSONACLICK: ${{ secrets.SONATYPE_PERSONACLICK }} | |
SIGNING_KEY_FILE_AS_BASE64_STRING: ${{ secrets.SIGNING_KEY_FILE_AS_BASE64_STRING }} | |
publish-rees: | |
needs: version | |
uses: rees46/workflow/.github/workflows/reusable-android-publish.yaml@master | |
permissions: write-all | |
with: | |
PROPERTIES_FILE: gradle.properties | |
SIGNING_SECRET_KEY_RING_FILE: com.rees46.key.gpg | |
SIGNING_SECRET_KEY_RING_FILE_LOCATION: ./personalization-sdk | |
OSSRH_USERNAME: ${{ vars.OSSRH_USERNAME }} | |
VARIANT_NAME: ${{ vars.REES_VARIANT_NAME }} | |
URL: ${{ vars.REES_REPO_URL }} | |
MAVEN_REPOSITORY_URL: ${{ vars.REES_MAVEN_URL }} | |
secrets: | |
SONATA_USERNAME: ${{ secrets.SONATA_USERNAME }} | |
SONATA_PASSWORD: ${{ secrets.SONATA_PASSWORD }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SIGNING_KEY_FILE_AS_BASE64_STRING: ${{ secrets.SIGNING_KEY_FILE_AS_BASE64_STRING }} | |
SONATYPE_REES46: ${{ secrets.SONATYPE_REES46 }} | |
SONATYPE_PERSONACLICK: ${{ secrets.SONATYPE_PERSONACLICK }} | |
publish-persona: | |
needs: version | |
uses: rees46/workflow/.github/workflows/reusable-android-publish.yaml@master | |
permissions: write-all | |
with: | |
PROPERTIES_FILE: gradle.properties | |
SIGNING_SECRET_KEY_RING_FILE: com.rees46.key.gpg | |
SIGNING_SECRET_KEY_RING_FILE_LOCATION: ./personalization-sdk | |
OSSRH_USERNAME: ${{ vars.OSSRH_USERNAME }} | |
VARIANT_NAME: ${{ vars.PERSONA_VARIANT_NAME }} | |
URL: ${{ vars.PERSONA_REPO_URL }} | |
MAVEN_REPOSITORY_URL: ${{ vars.PERSONA_MAVEN_URL }} | |
secrets: | |
SONATA_USERNAME: ${{ secrets.SONATA_USERNAME }} | |
SONATA_PASSWORD: ${{ secrets.SONATA_PASSWORD }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SONATYPE_REES46: ${{ secrets.SONATYPE_REES46 }} | |
SONATYPE_PERSONACLICK: ${{ secrets.SONATYPE_PERSONACLICK }} | |
SIGNING_KEY_FILE_AS_BASE64_STRING: ${{ secrets.SIGNING_KEY_FILE_AS_BASE64_STRING }} | |
release: | |
needs: [publish-rees, version] | |
uses: rees46/workflow/.github/workflows/reusable-android-release.yaml@master | |
permissions: write-all | |
with: | |
appId: ${{ vars.PUBLIVERSIONER_ID }} | |
PROPERTIES_FILE: gradle.properties | |
SIGNING_SECRET_KEY_RING_FILE: com.rees46.key.gpg | |
SIGNING_SECRET_KEY_RING_FILE_LOCATION: ./personalization-sdk | |
OSSRH_USERNAME: ${{ vars.OSSRH_USERNAME }} | |
VARIANT_NAME: ${{ vars.REES_VARIANT_NAME }} | |
URL: ${{ vars.REES_REPO_URL }} | |
MAVEN_REPOSITORY_URL: ${{ vars.REES_MAVEN_URL }} | |
secrets: | |
SONATA_USERNAME: ${{ secrets.SONATA_USERNAME }} | |
SONATA_PASSWORD: ${{ secrets.SONATA_PASSWORD }} | |
appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SONATYPE_REES46: ${{ secrets.SONATYPE_REES46 }} | |
SONATYPE_PERSONACLICK: ${{ secrets.SONATYPE_PERSONACLICK }} | |
SIGNING_KEY_FILE_AS_BASE64_STRING: ${{ secrets.SIGNING_KEY_FILE_AS_BASE64_STRING }} |