2323 - name : Prepare installers
2424 uses : ./.github/actions/prepare-installers
2525
26- - name : Upload distributable ZIP bundle
27- uses : actions/upload-artifact@v7
28- with :
29- name : bundle
30- path : dist/jmonkeyplatform.zip
31- compression-level : 0
32- if-no-files-found : error
33-
34- - name : Upload NBPackage
35- uses : actions/upload-artifact@v7
36- with :
37- name : nbpackage
38- path : installers/nbpackage/
39- compression-level : 9
40-
4126 # -------------------------------
4227 # 2. Native installer packaging (matrix)
4328 # -------------------------------
@@ -53,31 +38,13 @@ jobs:
5338 steps :
5439 - uses : actions/checkout@v6
5540
56- - name : Download bundle
57- uses : actions/download-artifact@v8
58- with :
59- name : bundle
60- path : dist
61-
62- - name : Download NBPackage
63- uses : actions/download-artifact@v8
64- with :
65- name : nbpackage
66- path : installers/nbpackage
67-
6841 - name : Build installers
6942 uses : ./.github/actions/build-installers
7043 with :
7144 tag : ${{ github.ref_name }}
7245 os : ${{ runner.os }}
7346 arch : ${{ runner.arch }}
7447
75- - name : Upload installers
76- uses : actions/upload-artifact@v7
77- with :
78- name : installers-${{ matrix.os }}
79- path : dist/installers/**
80-
8148 # -------------------------------
8249 # 3. Release
8350 # -------------------------------
9158 - name : Publish release
9259 uses : ./.github/actions/publish-release
9360 with :
94- tag : ${{ github.ref }}
95- # - name: Download JDKs for the installers
96- # run: bash download-jdks.sh
97- # working-directory: installers
98- # - name: Build the installers
99- # run: bash build-installers.sh ${{ github.ref_name }} headless
100- # working-directory: installers
101- # - name: Create Release
102- # uses: softprops/action-gh-release@v1
103- #
104- # with:
105- # files: |
106- # dist/jmonkeyplatform*.*
107- # dist/jmonkeyengine-sdk*.*
108- # dist/jMonkeyEngine-SDK*.*
109- # tag_name: ${{ github.ref }}
110- # name: Release ${{ github.ref }}
111- # env:
112- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+ tag : ${{ github.ref }}
0 commit comments