update extractor [Bandcamp] Show additional info in radio kiosk #12
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: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: Get release version number | |
id: get_version | |
uses: battila7/get-version-action@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '8' | |
- name: Bump version in build.gradle | |
id: bump_version | |
uses: Swisyn/android-version-generator-actions@v1.2 | |
with: | |
gradlePath: app/build.gradle | |
versionCode: 977 | |
versionName: 0.19.9.3 | |
- name: Build release apk | |
run: ./gradlew assembleRelease --stacktrace | |
- name: Sign release | |
uses: r0adkll/sign-android-release@v1 | |
id: sign_app | |
with: | |
releaseDirectory: app/build/outputs/apk/release | |
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | |
alias: ${{ secrets.ALIAS }} | |
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | |
keyPassword: ${{ secrets.KEY_PASSWORD }} | |
- name: Rename apk | |
run: mv ${{ steps.sign_app.outputs.signedReleaseFile }} NewPipe-${{ steps.bump_version.outputs.generated_version_name }}_Extractor-${{ steps.get_version.outputs.version-without-v }}.apk | |
- name: Create GitHub release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: '*.apk' | |
fail_on_unmatched_files: true |