Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
name: Record screenshots |
|
|
|
|
|
on: |
|
|
workflow_dispatch: |
|
|
|
|
|
# Enrich gradle.properties for CI/CD |
|
|
env: |
|
|
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false |
|
|
|
|
|
jobs: |
|
|
record: |
|
|
name: Record screenshots on branch ${{ github.ref_name }} |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
- name: ⏬ Checkout with LFS |
|
|
uses: nschloe/action-cached-lfs-checkout@v1.2.1 |
|
|
with: |
|
|
persist-credentials: false |
|
|
- name: ☕️ Use JDK 17 |
|
|
uses: actions/setup-java@v3 |
|
|
with: |
|
|
distribution: 'temurin' # See 'Supported distributions' for available options |
|
|
java-version: '17' |
|
|
# Add gradle cache, this should speed up the process |
|
|
- name: Configure gradle |
|
|
uses: gradle/gradle-build-action@v2.4.2 |
|
|
with: |
|
|
cache-read-only: ${{ github.ref != 'refs/heads/develop' }} |
|
|
- name: Record screenshots |
|
|
run: "./.github/workflows/scripts/recordScreenshots.sh" |
|
|
env: |
|
|
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} |
|
|
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} |
|
|
|
|
|
|