Skip to content

WIP mock calls to bandcamp for tests #152

WIP mock calls to bandcamp for tests

WIP mock calls to bandcamp for tests #152

Workflow file for this run

name: Build
on:
push:
branches:
- latest
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