Skip to content

Commit a990b67

Browse files
authored
Update push.yml
1 parent b7fe1fe commit a990b67

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/push.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# GitHub Actions workflow for commits pushed to the repo - all branches
2+
# GitHub Actions workflow for commits pushed to the Archer-Game-Template2 repo - all branches
33

44
name: CI at GitHub
55
on: [push]
@@ -10,22 +10,34 @@ jobs:
1010
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-java@v3
13+
- uses: actions/setup-java@v4
1414
with:
15-
distribution: 'zulu'
15+
distribution: 'temurin'
16+
java-version: 11
17+
- uses: gradle/actions/wrapper-validation@v4
18+
- run: chmod +x gradlew
19+
- run: ./gradlew javadoc build --console=plain --no-daemon --stacktrace
20+
21+
Java11-MacOS:
22+
if: contains(toJson(github.event.commits), '[ci skip] ') == false
23+
runs-on: macOS-15
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
1629
java-version: 11
17-
- uses: gradle/wrapper-validation-action@v1
1830
- run: chmod +x gradlew
1931
- run: ./gradlew javadoc build --console=plain --no-daemon --stacktrace
2032

2133
Java11-Windows:
2234
if: contains(toJson(github.event.commits), '[ci skip] ') == false
23-
runs-on: windows-2022
35+
runs-on: windows-2025
2436
steps:
2537
- uses: actions/checkout@v4
26-
- uses: actions/setup-java@v3
38+
- uses: actions/setup-java@v4
2739
with:
28-
distribution: 'zulu'
40+
distribution: 'temurin'
2941
java-version: 11
3042
- run: ./gradlew javadoc build --console=plain --no-daemon --stacktrace
3143
shell: bash

0 commit comments

Comments
 (0)