Skip to content

Commit 7ca2b33

Browse files
authored
Update deploy.yml
1 parent c0c7d46 commit 7ca2b33

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,16 @@ jobs:
3333
--main-class pl.bator.lso_list_generator.LSOListGeneratorApplication \
3434
--type deb \
3535
--icon src/main/resources/logo.png \
36+
--dest .
37+
38+
- name: Upload DEB as artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: lso-deb
42+
path: LSOListGenerator*.deb
3643

37-
3844
build-windows:
39-
needs: [ build-linux ]
45+
needs: [build-linux]
4046
runs-on: windows-latest
4147
steps:
4248
- name: Checkout code
@@ -53,10 +59,17 @@ jobs:
5359

5460
- name: Create EXE package
5561
run: |
56-
jpackage --input target\ --name LSOListGenerator --main-jar LSOListGenerator-1.0.jar --main-class pl.bator.lso_list_generator.LSOListGeneratorApplication --type exe --icon src\main\resources\logo.png
62+
jpackage -input target\ --name LSOListGenerator --main-jar LSOListGenerator-1.0.jar --main-class pl.bator.lso_list_generator.LSOListGeneratorApplication --type exe --icon src\main\resources\logo.png --dest .
63+
shell: pwsh
64+
65+
- name: Upload EXE as artifact
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: lso-exe
69+
path: LSOListGenerator*.exe
5770

5871
release:
59-
needs: [ build-linux, build-windows ]
72+
needs: [build-linux, build-windows]
6073
runs-on: ubuntu-latest
6174
steps:
6275
- name: Download DEB artifact

0 commit comments

Comments
 (0)