File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 make -C ys build
9191 make -C libys build
9292 make release-build
93+ # Copy JAR files with release names
94+ cp libys/target/libys-$VERSION-standalone.jar \
95+ libys-$VERSION-standalone.jar
96+ cp ys/target/uberjar/yamlscript.cli-$VERSION-SNAPSHOT-standalone.jar \
97+ yamlscript.cli-$VERSION-standalone.jar
9398
9499 - name : List created archives
95- run : ls -lh ys-*.tar.xz libys-*.tar.xz
100+ run : ls -lh ys-*.tar.xz libys-*.tar.xz *.jar
96101
97102 - name : Upload artifact
98103 uses : actions/upload-artifact@v4
@@ -101,6 +106,7 @@ jobs:
101106 path : |
102107 ys-*.tar.xz
103108 libys-*.tar.xz
109+ *.jar
104110 retention-days : 7
105111
106112 build-macos-arm64 :
@@ -206,12 +212,14 @@ jobs:
206212 - name : Prepare release assets
207213 run : |
208214 find . -type f -name "*.tar.xz" -exec mv {} . \;
209- ls -lh *.tar.xz
215+ find . -type f -name "*.jar" -exec mv {} . \;
216+ ls -lh *.tar.xz *.jar
210217
211218 - name : Upload assets to GitHub Release
212219 env :
213220 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
214221 run : |
215- gh release upload "$VERSION" ys-*.tar.xz libys-*.tar.xz --clobber
222+ gh release upload "$VERSION" \
223+ ys-*.tar.xz libys-*.tar.xz *.jar --clobber
216224 echo "Release $VERSION complete!"
217225 gh release view "$VERSION"
You can’t perform that action at this time.
0 commit comments