File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Weekly Gradle Build
2+
3+ on :
4+ # Every Sunday at midnight UTC
5+ schedule :
6+ - cron : " 0 0 * * 0"
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ steps :
14+ - uses : actions/checkout@v3
15+ with :
16+ ref : master
17+
18+ - name : Set up JDK 17
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : " 17"
22+ distribution : " temurin"
23+
24+ # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
25+ # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
26+ - name : Setup Gradle
27+ uses :
gradle/actions/[email protected] 28+
29+ - name : Build with Gradle Wrapper
30+ run : ./gradlew build
Original file line number Diff line number Diff line change 1717 - name : Set up JDK 17
1818 uses : actions/setup-java@v4
1919 with :
20- java-version : ' 17 '
21- distribution : ' temurin'
20+ java-version : " 17 "
21+ distribution : " temurin"
2222
2323 # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
2424 # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
3838 - name : Set up JDK 17
3939 uses : actions/setup-java@v4
4040 with :
41- java-version : ' 17 '
42- distribution : ' temurin'
41+ java-version : " 17 "
42+ distribution : " temurin"
4343
4444 # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
4545 # See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
You can’t perform that action at this time.
0 commit comments