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 1
1
on :
2
2
workflow_dispatch :
3
3
schedule :
4
- - cron : ' 0 0 * * * '
4
+ - cron : ' 0 12 * * 1 '
5
5
6
6
env :
7
7
SENTRY_DSN :
' https://[email protected] /project_id'
14
14
matrix :
15
15
agp-version :
16
16
- 7.3.1
17
- - 7.4.0-beta03
18
- - 8.0.0-alpha06
17
+ - 7.4.0-rc01
18
+ - 8.0.0-alpha09
19
19
gradle-version :
20
20
- wrapper
21
21
- nightly
38
38
- name : Copy CI gradle.properties
39
39
run : mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
40
40
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
+
41
45
- name : Run checks
42
46
uses : gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # v2.3.3
43
47
env :
46
50
with :
47
51
arguments : check
48
52
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