File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,34 +12,34 @@ jobs:
12
12
contents : write # Add this line to grant release permissions
13
13
steps :
14
14
- uses : actions/checkout@v4
15
-
15
+
16
16
- name : Set up JDK
17
17
uses : actions/setup-java@v4
18
18
with :
19
19
distribution : ' temurin'
20
20
java-version : ' 17'
21
-
21
+
22
22
- name : Install Clojure Tools
23
23
uses :
DeLaGuardo/[email protected]
24
24
with :
25
25
lein : ' 2.10.0'
26
-
26
+
27
27
- name : Get version
28
28
id : get_version
29
29
run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
30
-
30
+
31
31
- name : Build server uberjar
32
32
run : cd server && lein uberjar
33
-
33
+
34
34
- name : Build proxy uberjar
35
35
run : cd proxy && lein uberjar
36
-
37
- - name : Rename jar files
36
+
37
+ - name : Rename and relocate jar files
38
38
run : |
39
39
mkdir -p artifacts
40
- find server/target -name "*-standalone.jar" -exec cp {} artifacts/server-standalone-${{ env.VERSION }}.jar \;
41
- find proxy/target -name "*-standalone.jar" -exec cp {} artifacts/proxy-standalone-${{ env.VERSION }}.jar \;
42
-
40
+ find server/target/uberjar -name "*-standalone.jar" -exec cp {} artifacts/server-standalone-${{ env.VERSION }}.jar \;
41
+ find proxy/target/uberjar -name "*-standalone.jar" -exec cp {} artifacts/proxy-standalone-${{ env.VERSION }}.jar \;
42
+
43
43
- name : Create Release
44
44
uses : softprops/action-gh-release@v2
45
45
with :
You can’t perform that action at this time.
0 commit comments