[preview] release preview_1.9.0-dev2 #916
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: dev | |
on: | |
push: | |
branches: | |
- 'dev' | |
- 'main' | |
tags-ignore: | |
- 'v*' | |
- 'preview_*' | |
- 'test*' | |
paths-ignore: | |
- '.github/**' | |
- '.idea/**' | |
- 'docs/**' | |
- 'fastlane/metadata/android/**' | |
- 'tools/changelog-generator/**' | |
- 'crowdin.yml' | |
- 'fdroid.properties' | |
- '*.json' | |
- '**.md' | |
- 'ReleaseNote*' | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'dev' | |
- 'main' | |
paths-ignore: | |
- '.github/**' | |
- '.idea/**' | |
- '**.md' | |
jobs: | |
build: | |
# Matrix builds | |
name: "Dev Ci" | |
strategy: | |
matrix: | |
PRODUCT_VARIANT: [ModernCheckoutDebug, LegacyCheckoutDebug] | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: gradle | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Generate Sign Config | |
env: | |
SECRETS_KEY: ${{ secrets.KEY }} | |
SECRETS_STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} | |
SECRETS_KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | |
SECRETS_KEY_ALIAS: ${{ secrets.KEY_ALIAS }} | |
KEYSTORE_FILE: ${{ github.workspace }}/key.jdk | |
CONFIG_FILE: ${{ github.workspace }}/signing.properties | |
run: | | |
bash ${{ github.workspace }}/scripts/generate_signing_key.sh | |
- name: Build with Gradle | |
run: | | |
./gradlew assemble${{ matrix.PRODUCT_VARIANT }} --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts_${{ matrix.PRODUCT_VARIANT }} | |
path: ./app/build/outputs/apk/*/debug/*.apk | |
retention-days: 3 |