File tree Expand file tree Collapse file tree 2 files changed +29
-55
lines changed
Expand file tree Collapse file tree 2 files changed +29
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3-
4- # This workflow uses actions that are not certified by GitHub.
5- # They are provided by a third-party and are governed by
6- # separate terms of service, privacy policy, and support
7- # documentation.
8-
9- name : Java CI with Maven
1+ name : Java CI
102
113on :
124 push :
135 branches : ["main"]
146 pull_request :
157 branches : ["main"]
8+ schedule :
9+ - cron : ' 0 0 * * *'
1610
1711jobs :
18- build :
12+ build-maven :
1913 name : Build Maven
2014
2115 runs-on : ubuntu-latest
4337 name : cics-java-liberty-sprintboot-jcics (Maven, Java ${{ matrix.jdk }})
4438 path : staging
4539
46- build-wrapper :
40+ build-mvnw :
4741 name : Build Maven Wrapper
4842
4943 runs-on : ubuntu-latest
6559 cache : maven
6660 - name : Build with Maven
6761 run : ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
62+
63+ build-gradle :
64+ name : Build Gradle
65+
66+ runs-on : ubuntu-latest
67+ continue-on-error : ${{ matrix.experimental }}
68+ strategy :
69+ matrix :
70+ jdk : [8, 11]
71+ experimental : [false]
72+ include :
73+ - jdk : 17
74+ experimental : true
75+ steps :
76+ - uses : actions/checkout@v3
77+ - name : Set up JDK ${{ matrix.jdk }}
78+ uses : actions/setup-java@v4
79+ with :
80+ java-version : ${{ matrix.jdk }}
81+ distribution : ' semeru'
82+ - name : Build with Gradle
83+ uses : gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
84+ with :
85+ arguments : build -Pjava_version=${{ matrix.jdk }}
You can’t perform that action at this time.
0 commit comments