Commit 99cfb4f 1 parent 61e0997 commit 99cfb4f Copy full SHA for 99cfb4f
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ on : [push, pull_request]
7
7
8
8
jobs :
9
9
build :
10
-
11
10
runs-on : ubuntu-latest
12
-
13
11
steps :
14
12
- name : Cache
15
13
uses : actions/cache@v4
21
19
restore-keys : |
22
20
${{ runner.os }}-gradle-
23
21
- uses : actions/checkout@v4
22
+ - uses : madhead/read-java-properties@latest
23
+ id : mod_version
24
+ with :
25
+ file : gradle.properties
26
+ property : mod_version
27
+ default : 1.0.0
24
28
- name : Set up JDK 21
25
29
uses : actions/setup-java@v4
26
30
with :
37
41
- name : Upload binaries to release
38
42
uses : actions/upload-artifact@v4
39
43
with :
40
- name : wild_wind-1.0.0 .jar
44
+ name : wild_wind-${{steps.version.outputs.mod_version}} .jar
41
45
path : build/libs/wild_wind-1.0.0.jar
42
46
repo-token : ${{ secrets.ACTION_TOKEN }}
You can’t perform that action at this time.
0 commit comments