Skip to content

Commit 6b9a6bc

Browse files
committed
Fix workflows
1 parent 9d69b71 commit 6b9a6bc

File tree

5 files changed

+16
-163
lines changed

5 files changed

+16
-163
lines changed

.github/assets/build-pr-failure.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/assets/build-pr-success.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/assets/build-pr.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,43 @@
1-
name: Build
1+
name: Build with Gradle
22

33
on:
44
push:
55
branches:
6-
- '*'
6+
- '**'
77
paths-ignore:
88
- 'README'
99
- 'README.md'
1010
- 'LICENSE'
11+
- 'LICENSE-TEMPLATE'
1112
- 'LICENSE.md'
13+
- 'LICENSE-TEMPLATE.md'
1214
pull_request:
1315
branches:
14-
- '*'
16+
- '**'
1517
paths-ignore:
1618
- 'README'
1719
- 'README.md'
1820
- 'LICENSE'
21+
- 'LICENSE-TEMPLATE'
1922
- 'LICENSE.md'
23+
- 'LICENSE-TEMPLATE.md'
2024
workflow_dispatch:
2125

2226
jobs:
2327
build:
2428
runs-on: ubuntu-latest
25-
name: Build and test with gradle
29+
name: Build Project
2630

2731
steps:
2832
- name: Checkout repository
29-
uses: actions/checkout@v3
33+
uses: actions/checkout@v5
3034

31-
- name: Set up JDK
32-
uses: actions/setup-java@v3
35+
- name: Set up JDK ${{ matrix.java }}
36+
uses: actions/setup-java@v5
3337
with:
3438
distribution: 'temurin'
35-
java-version: |
36-
8
37-
16
38-
17
39-
21
39+
java-version: '21'
40+
cache: gradle
4041

4142
- name: Grant execute permission for gradlew
4243
run: chmod +x gradlew
@@ -45,10 +46,10 @@ jobs:
4546
run: ./gradlew build --no-daemon
4647

4748
- name: Upload artifact
48-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v5
4950
with:
50-
name: build
51+
name: Artifacts
5152
path: |
5253
build/libs/*.jar
5354
versions/*/build/libs/*.jar
54-
if-no-files-found: error
55+
if-no-files-found: error

.github/workflows/build-pr.yml

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)