Skip to content

Commit

Permalink
added icons and updeated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
heshanthenura committed Nov 24, 2023
1 parent bbe9124 commit 9038040
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/jpackage_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
run: ./gradlew customFatJar

- name: Check jpackage availability
run: jpackage --input build/libs/ --name PackageDemo --main-jar PackageDemoJAR-1.0-SNAPSHOT.jar --main-class com.heshanthenura.packagedemo.Launcher --type deb --dest build/linux/ --app-version 1.0 --vendor "Heshan Thenura"
run: jpackage --input build/libs/ --name PassMan --main-jar PassManJAR-1.0-SNAPSHOT.jar --main-class com.heshanthenura.passman.Launcher --linux-shortcut --type deb --dest build/linux/ --app-version 1.0 --vendor "Heshan Thenura" --icon icon/icon.png --linux-shortcut

- name: List contents of build/linux directory
run: ls -l build/linux

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: PackageDemo-linux
name: PassMan-linux
path: build/linux/*

- name: Create release
Expand All @@ -50,7 +50,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: linux-v1.0
release_name: JpackageDemo-linux
release_name: PassMan-linux
draft: false
prerelease: false

Expand All @@ -61,6 +61,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/linux/packagedemo_1.0-1_amd64.deb
asset_name: PackageDemo-linux.deb
asset_path: build/linux/passman.0-1_amd64.deb
asset_name: PassMan-linux.deb
asset_content_type: application/octet-stream
8 changes: 4 additions & 4 deletions .github/workflows/jpackage_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Check jpackage availability
run: |
jpackage --input build\libs\ --name PackageDemo --main-jar PackageDemoJAR-1.0-SNAPSHOT.jar --main-class com.heshanthenura.packagedemo.Launcher --type msi --win-dir-chooser --dest build\win\ --win-menu --win-shortcut --app-version 1.0 --vendor "Heshan Thenura"
jpackage --input build\libs\ --name PassMan --main-jar PassManJAR-1.0-SNAPSHOT.jar --main-class com.heshanthenura.passman.Launcher --type msi --win-dir-chooser --dest build\win\ --win-menu --win-shortcut --app-version 1.0 --vendor "Heshan Thenura" --icon icon/icon.png
- name: List contents of build/win directory
run: dir build\win
Expand All @@ -45,7 +45,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.0
release_name: JpackageDemo-win
release_name: PassMan-win
draft: false
prerelease: false

Expand All @@ -56,6 +56,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/win/PackageDemo-1.0.msi
asset_name: PackageDemo-win.msi
asset_path: build/win/PassMan-1.0.msi
asset_name: PassMan-win.msi
asset_content_type: application/octet-stream
Binary file added icon/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9038040

Please sign in to comment.