mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 04:07:03 +05:30
chore(build): ensure AboutLibraries tasks avoid rate limits
This commit is contained in:
parent
b20b087b8b
commit
28720b06bb
3 changed files with 5 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -33,6 +33,8 @@ jobs:
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: ./gradlew --no-configuration-cache --stacktrace :build-logic:check check -PslimTests
|
run: ./gradlew --no-configuration-cache --stacktrace :build-logic:check check -PslimTests
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: (Fail-only) Upload test report
|
- name: (Fail-only) Upload test report
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -59,6 +59,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
./gradlew --no-configuration-cache assembleRelease collectReleaseApks collectReleaseBundle -PenableSentry
|
./gradlew --no-configuration-cache assembleRelease collectReleaseApks collectReleaseBundle -PenableSentry
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,8 @@ extensions.configure<ApplicationExtension> {
|
||||||
experimentalProperties["android.experimental.enableScreenshotTest"] = true
|
experimentalProperties["android.experimental.enableScreenshotTest"] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
aboutLibraries.gitHubApiToken = providers.environmentVariable("GITHUB_TOKEN").orNull
|
||||||
|
|
||||||
baselineProfile {
|
baselineProfile {
|
||||||
mergeIntoMain = true
|
mergeIntoMain = true
|
||||||
saveInSrc = true
|
saveInSrc = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue