This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 11on :
22 workflow_dispatch :
33 schedule :
4- - cron : ' 0 0 * * * '
4+ - cron : ' 0 12 * * 1 '
55
66env :
77 SENTRY_DSN : ' https://public_key@example.com/project_id'
1414 matrix :
1515 agp-version :
1616 - 7.3.1
17- - 7.4.0-beta03
18- - 8.0.0-alpha06
17+ - 7.4.0-rc01
18+ - 8.0.0-alpha09
1919 gradle-version :
2020 - wrapper
2121 - nightly
3838 - name : Copy CI gradle.properties
3939 run : mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
4040
41+ - name : Workaround AGP 8.x deprecations
42+ if : ${{ startsWith(matrix.agp-version, "8.0.0") }}
43+ run : sed -i 's/android.disableAutomaticComponentCreation=true//' gradle.properties
44+
4145 - name : Run checks
4246 uses : gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # v2.3.3
4347 env :
4650 with :
4751 arguments : check
4852 gradle-home-cache-cleanup : true
53+
54+ - name : Report failure to healthchecks.io
55+ if : ${{ failure() }}
56+ env :
57+ HC_PING_SLUG : ${{ secrets.HC_PING_SLUG }}
58+ AGP_VERSION : ${{ matrix.agp-version }}
59+ run : |
60+ curl --retry 3 --data-raw "AGP: ${AGP_VERSION}" "https://hc-ping.com/${HC_PING_SLUG}/fail"
61+
62+ - name : Report success to healthchecks.io
63+ if : ${{ success() }}
64+ env :
65+ HC_PING_SLUG : ${{ secrets.HC_PING_SLUG }}
66+ AGP_VERSION : ${{ matrix.agp-version }}
67+ run : |
68+ curl --retry 3 --data-raw "AGP: ${AGP_VERSION}" "https://hc-ping.com/${HC_PING_SLUG}"
You can’t perform that action at this time.
0 commit comments