Skip to content

Commit 16f28e7

Browse files
change another small thing
1 parent 87ccd30 commit 16f28e7

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1+
name: "Build Release"
12
on: push
2-
name: Build
33
jobs:
44
build:
5-
name: Create Release
65
runs-on: ubuntu-latest
76
steps:
8-
- name: Setting Java version
9-
uses: actions/setup-java@v1
10-
with:
11-
distribution: 'temurin'
12-
java-version: 17
7+
- { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
8+
- {
9+
name: "Set up JDK 17",
10+
uses: actions/setup-java@v2,
11+
with: { distribution: "adopt", java-version: "17" },
12+
}
1313
- {
1414
name: "Build with Gradle",
1515
id: build,
1616
run: "chmod +x gradlew && ./gradlew build publish",
1717
}
18-
- name: Checkout code
19-
uses: actions/checkout@v2
2018
- name: Create Release
2119
id: create_release
2220
uses: actions/create-release@v1

0 commit comments

Comments
 (0)