Skip to content

Commit ce73dfd

Browse files
committed
ci: Bring Github actions up-to-date
1 parent fb8652d commit ce73dfd

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v5
11+
with:
12+
submodules: true
1113
- name: Setup Java
12-
uses: actions/setup-java@v3
14+
uses: actions/setup-java@v5
1315
with:
1416
distribution: temurin
15-
java-version: 17
16-
- name: Set Gradle execution rights
17-
run: chmod +x ./gradlew
17+
java-version: 24
18+
- name: Set execution rights
19+
run: chmod +x ./gradlew ./helpers/run-each-mc.sh
20+
- name: Setup Gradle
21+
uses: gradle/actions/setup-gradle@v4
1822
- name: Build
19-
uses: gradle/gradle-build-action@v2
20-
with:
21-
arguments: assemble
22-
- name: Check
23-
uses: gradle/gradle-build-action@v2
24-
with:
25-
arguments: check
23+
run: ./helpers/run-each-mc.sh ./gradlew build

.github/workflows/push-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
on:
22
push:
33
branches:
4-
- "1.16"
4+
- "cross-version"
55

66

77
jobs:
88
auto-fix:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v5
1313

1414
- name: Fix language file names
1515
run: |

0 commit comments

Comments
 (0)