Skip to content

Commit 282c705

Browse files
committed
repush
1 parent 8aa33db commit 282c705

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ jobs:
4444
javac -d ${{ env.OUT_DIR }} src/*.java
4545
# Generate a temporary manifest file using echo
4646
echo "Main-Class: ${{ env.MAIN_CLASS }}" > customManifest.txt
47-
jar cvfm ${{ env.OUT_DIR }}/${{ env.FILE_NAME }}-${{ env.VERSION }}.jar \
48-
customManifest.txt \
49-
-C ${{ env.OUT_DIR }} ./
47+
jar cvf ${{ env.OUT_DIR }}/${{ env.FILE_NAME }}-${{ env.VERSION }}.jar \
48+
-C ${{ env.OUT_DIR }} ./ \
49+
-C ./ assets/
50+
5051
5152
- name: Upload JAR as Artifact
5253
uses: actions/upload-artifact@v3
@@ -193,7 +194,7 @@ jobs:
193194
--win-shortcut `
194195
--win-menu `
195196
--app-version ${{ needs.build.outputs.stripped_version }} `
196-
--type msi `
197+
--type exe `
197198
--dest .
198199
199200
- name: List contents of out directory (Windows)
@@ -208,8 +209,8 @@ jobs:
208209
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
209210
with:
210211
upload_url: ${{ needs.build.outputs.release_upload_url }}
211-
asset_path: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}.msi
212-
asset_name: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}-windows.msi
212+
asset_path: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}.exe
213+
asset_name: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}-windows.exe
213214
asset_content_type: application/octet-stream
214215

215216

0 commit comments

Comments
 (0)