server
Clone or download
Modified Files
--- 'a/.github/workflows/build.yml'
+++ b/.github/workflows/build.yml
@@ -148,13 +148,8 @@ jobs:
- name: Add REQ_MODULES to environment
run: |
echo "REQ_MODULES=$(<req_modules.txt)" >> $GITHUB_ENV
- - name: Create DMG, PKG
+ - name: Create PKG
run: |
- # Create DMG
- .github/scripts/jpackage.sh \
- --icon assets/macos-icon.icns \
- --license-file LICENSE.txt \
- --type dmg
# Create PKG
.github/scripts/jpackage.sh \
@@ -164,18 +159,12 @@ jobs:
--type pkg
cd $INSTALL_DIR
- mv *.dmg stream-pi-server-macos-x64-${{ env.VERSION }}.dmg
mv *.pkg stream-pi-server-macos-x64-${{ env.VERSION }}.pkg
env:
MAIN_CLASS: com.stream_pi.server.Main
JAVAFX_JMODS: /tmp/javafx-jmods-17/
JPACKAGE_HOME: ${{ env.JAVA_HOME }}
INSTALL_DIR: target/install
- - name: Saving MacOS x64 DMG
- uses: actions/upload-artifact@v2
- with:
- name: macos-dmg
- path: target/install/stream-pi-server-macos-x64-${{ env.VERSION }}.dmg
- name: Saving MacOS x64 PKG
uses: actions/upload-artifact@v2
with:
--- 'a/.github/workflows/init.yml'
+++ b/.github/workflows/init.yml
@@ -1,6 +1,9 @@
name: Init
-on: [push]
+on:
+ push:
+ tags:
+ - '*'
jobs:
--- 'a/.github/workflows/release.yml'
+++ b/.github/workflows/release.yml
@@ -42,12 +42,6 @@ jobs:
workflow: build.yml
name: linux-zip
path: target/install
- - name: Download MacOS dmg
- uses: dawidd6/action-download-artifact@v2
- with:
- workflow: build.yml
- name: macos-dmg
- path: target/install
- name: Download MacOS pkg
uses: dawidd6/action-download-artifact@v2
with: