Skip to content

Merge pull request #87 from TimPushkin/pin-pointer #77

Merge pull request #87 from TimPushkin/pin-pointer

Merge pull request #87 from TimPushkin/pin-pointer #77

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
create-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- uses: gradle/actions/setup-gradle@v3
- name: Configure signing
env:
STORE_FILE: depnav.jks
run: |
echo -n ${{ secrets.Keystore }} | base64 -d > $STORE_FILE
echo "storeFile=$GITHUB_WORKSPACE/$STORE_FILE" > keystore.properties
echo "storePassword=${{ secrets.StorePassword }}" >> keystore.properties
echo "keyAlias=${{ secrets.KeyAlias }}" >> keystore.properties
echo "keyPassword=${{ secrets.KeyPassword }}" >> keystore.properties
- name: Create APK
run: ./gradlew assembleRelease
- name: Create AAB
run: ./gradlew bundleRelease
- uses: actions/upload-artifact@v4
with:
name: release-files
path: |
app/build/outputs/apk/release/app-release.apk
app/build/outputs/bundle/release/app-release.aab
if-no-files-found: error