Skip to content

A huge number of changes #551

A huge number of changes

A huge number of changes #551

Workflow file for this run

name: Android Publisher CI
on:
push:
branches:
- main
- development
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Decode Google Services
run: gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.GOOGLE_SERVICES_PASSWORD }}" --output app/google-services.json app/google-services.json.gpg
- name: Decode Signature
run: gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.SIGNATURE_PASSWORD }}" --output sign.jks sign.jks.gpg
- name: Decode Publishing Secrets
run: gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.PLAY_PUBLISHER_PASSWORD }}" --output unes_uefs_publisher.json unes_uefs_publisher.json.gpg
- name: Dependencies
run: ./gradlew dependencies
- name: Lint & JVM Checks
run: ./gradlew check
if: "!contains(github.event.head_commit.message, '[lint skip]')"
- name: Publish Release App
run: ./gradlew publishReleaseBundle uploadCrashlyticsMappingFileRelease
if: "!contains(github.event.head_commit.message, '[publish skip]')"
env:
UNES_KEYSTORE_ALIAS: ${{ secrets.UNES_KEYSTORE_ALIAS }}
UNES_KEYSTORE_PASSWORD: ${{ secrets.UNES_KEYSTORE_PASSWORD }}
UNES_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{ secrets.UNES_KEYSTORE_PRIVATE_KEY_PASSWORD }}
UNES_MAPS_KEY: ${{ secrets.UNES_MAPS_KEY }}
- name: Upload Check Results
uses: actions/upload-artifact@v2
if: always()
with:
name: check_results
path: ./**/build/reports/
- name: Upload result for job
uses: actions/upload-artifact@v2
if: "!contains(github.event.head_commit.message, '[publish skip]')"
with:
name: bundle
path: app/build/outputs/bundle/release/app-release.aab