Skip to content

Merge branch 'release/3.0.5' into develop #143

Merge branch 'release/3.0.5' into develop

Merge branch 'release/3.0.5' into develop #143

Workflow file for this run

name: Build Develop
on:
push:
branches:
- develop
tags:
- 'v*'
jobs:
build:
name: Build Application
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-build-${{ hashFiles('gradlew') }}
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
- name: Load keystore
run: echo "${{ secrets.KEYSTORE }}" | base64 -d > app/keystore.jks
- name: Bundle app
run: |
./gradlew app:bundleRelease
mv app/build/outputs/bundle/release/app-release.aab badradio.aab
env:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/')
with:
artifacts: badradio.aab