File tree Expand file tree Collapse file tree 2 files changed +49
-8
lines changed
Expand file tree Collapse file tree 2 files changed +49
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Build against Selenium nightly build
2+
3+ on :
4+ schedule :
5+ - cron : ' 6 6 * * *'
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+ cancel-in-progress : true
10+
11+ env :
12+ CI : true
13+
14+ jobs :
15+ build :
16+
17+ strategy :
18+ matrix :
19+ include :
20+ - java : 17
21+ platform : ubuntu-latest
22+ - java : 21
23+ platform : ubuntu-latest
24+ - java : 25
25+ platform : ubuntu-latest
26+ fail-fast : false
27+
28+ runs-on : ${{ matrix.platform }}
29+
30+ name : JDK ${{ matrix.java }} - ${{ matrix.platform }}
31+ steps :
32+ - uses : actions/checkout@v6
33+
34+ - name : Set up JDK ${{ matrix.java }}
35+ uses : actions/setup-java@v5
36+ with :
37+ distribution : ' zulu'
38+ java-version : ${{ matrix.java }}
39+
40+ - name : Setup Gradle
41+ uses : gradle/actions/setup-gradle@v5
42+
43+ - name : Build with Gradle
44+ run : |
45+ latest_snapshot=$(curl -sf https://raw.githubusercontent.com/SeleniumHQ/selenium/refs/heads/trunk/java/version.bzl | grep 'SE_VERSION' | sed 's/.*"\(.*\)".*/\1/')
46+ echo ">>> $latest_snapshot"
47+ echo "latest_snapshot=$latest_snapshot" >> "$GITHUB_ENV"
48+ ./gradlew clean build -PisCI -Pselenium.version=$latest_snapshot
Original file line number Diff line number Diff line change 7979 - name : Setup Gradle
8080 uses : gradle/actions/setup-gradle@v5
8181
82- - name : Build with Gradle against Selenium nightly build
83- run : |
84- latest_snapshot=$(curl -sf https://raw.githubusercontent.com/SeleniumHQ/selenium/refs/heads/trunk/java/version.bzl | grep 'SE_VERSION' | sed 's/.*"\(.*\)".*/\1/')
85- echo ">>> $latest_snapshot"
86- echo "latest_snapshot=$latest_snapshot" >> "$GITHUB_ENV"
87- ./gradlew clean build -PisCI -Pselenium.version=$latest_snapshot
88-
89- - name : Build with Gradle against stable Selenium version
82+ - name : Build with Gradle
9083 run : |
9184 ./gradlew clean build -PisCI
9285
You can’t perform that action at this time.
0 commit comments