Skip to content

chore: add more tests for notification center and main view model (#577) #609

chore: add more tests for notification center and main view model (#577)

chore: add more tests for notification center and main view model (#577) #609

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: 8.8
- name: Create Sentry config file
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
run: |
echo sentry_dsn=$SENTRY_DSN > core/utils/build.properties
- name: Decode keystore
env:
ENCODED_STRING: ${{ secrets.KEYSTORE_BASE_64 }}
run: |
echo $ENCODED_STRING > keystore-b64.txt
base64 -d keystore-b64.txt > composeApp/keystore.jks
- name: Build
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
run: ./gradlew assembleDebug