diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 680381351..5e3e7a624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,6 +85,10 @@ jobs: key: cmake-default-${{ hashFiles('rust-toolchain.toml', 'settings.gradle.kts', 'app/src/main/cpp/CMakeLists.txt', 'app/src/main/rust/Cargo.lock') }} restore-keys: cmake-default- + # https://github.com/mikepenz/AboutLibraries/issues/1225 + - name: Generate aboutlibraries.json + run: ./gradlew :app:prepareLibraryDefinitionsDefaultRelease --rerun + - name: Build run: ./gradlew assembleDefaultRelease @@ -153,6 +157,10 @@ jobs: key: cmake-marshmallow-${{ hashFiles('rust-toolchain.toml', 'settings.gradle.kts', 'app/src/main/cpp/CMakeLists.txt', 'app/src/main/rust/Cargo.lock') }} restore-keys: cmake-marshmallow- + # https://github.com/mikepenz/AboutLibraries/issues/1225 + - name: Generate aboutlibraries.json + run: ./gradlew :app:prepareLibraryDefinitionsMarshmallowRelease --rerun + - name: Build run: ./gradlew assembleMarshmallowRelease diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 178a4d5d5..1a74237fc 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -51,6 +51,12 @@ jobs: run: ./gradlew generateBaselineProfile -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" + # https://github.com/mikepenz/AboutLibraries/issues/1225 + - name: Generate aboutlibraries.json + run: ./gradlew + :app:prepareLibraryDefinitionsDefaultRelease --rerun + :app:prepareLibraryDefinitionsMarshmallowRelease --rerun + - name: Build run: ./gradlew assembleRelease