File tree Expand file tree Collapse file tree 2 files changed +52
-3
lines changed
Expand file tree Collapse file tree 2 files changed +52
-3
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,23 @@ jobs:
1616 build :
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v3
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+ with :
22+ show-progress : false
23+
2024 - name : Set up JDK 17
21- uses : actions/setup-java@v3
25+ uses : actions/setup-java@v4
2226 with :
2327 java-version : ' 17'
24- distribution : ' temurin'
28+ distribution : ' dragonwell'
29+
2530 - name : Validate Gradle Wrapper
2631 uses : gradle/wrapper-validation-action@v1
32+
2733 - name : Make Gradle Wrapper Executable
2834 run : chmod +x ./forge/gradlew
35+
2936 - name : Build
3037 uses : gradle/gradle-build-action@v2
3138 with :
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ build :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+ with :
17+ show-progress : false
18+
19+ - name : Set up JDK 17
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : ' 17'
23+ distribution : ' dragonwell'
24+
25+ - name : Validate Gradle Wrapper
26+ uses : gradle/wrapper-validation-action@v1
27+
28+ - name : Make Gradle Wrapper Executable
29+ run : chmod +x ./forge/gradlew
30+
31+ - name : Build
32+ uses : gradle/gradle-build-action@v2
33+ with :
34+ arguments : buildNeeded
35+ build-root-directory : forge
36+
37+ - name : Release
38+ uses : softprops/action-gh-release@v1
39+ if : startsWith(github.ref, 'refs/tags/')
40+ with :
41+ files : forge/build/libs/*
42+ body : Please refer to [CHANGELOG.md](https://github.com/Nova-Committee/re-avaritia/blob/master/CHANGELOG.md) for details.
You can’t perform that action at this time.
0 commit comments