From: Debayan Sutradhar Date: Tue, 22 Jun 2021 12:53:27 +0530 Subject: Added RPM --- Added RPM --- --- 'a/.github/workflows/build.yml' +++ b/.github/workflows/build.yml @@ -67,8 +67,15 @@ jobs: --app-version ${{ env.VERSION }} \ --type app-image + # Create App Image + .github/scripts/jpackage.sh \ + --icon assets/linux-icon.png \ + --app-version ${{ env.VERSION }} \ + --type rpm + cd $INSTALL_DIR mv *.deb stream-pi-server-linux-x64-${{ env.VERSION }}-debian.deb + mv *.rpm stream-pi-server-linux-x64-${{ env.VERSION }}-debian.rpm mv 'Stream-Pi Server' stream-pi-server-${{ env.VERSION }} zip -r stream-pi-server-linux-x64-${{ env.VERSION }}-executable.zip stream-pi-server-${{ env.VERSION }} rm -r stream-pi-server-${{ env.VERSION }} @@ -82,6 +89,11 @@ jobs: with: name: linux-deb path: target/install/stream-pi-server-linux-x64-${{ env.VERSION }}-debian.deb + - name: Saving Linux x64 RPM + uses: actions/upload-artifact@v2 + with: + name: linux-rpm + path: target/install/stream-pi-server-linux-x64-${{ env.VERSION }}-debian.deb - name: Saving Linux x64 ZIP uses: actions/upload-artifact@v2 with: @@ -139,10 +151,11 @@ jobs: --license-file LICENSE.txt \ --type dmg - # Create DMG + # Create PKG .github/scripts/jpackage.sh \ --icon assets/macos-icon.icns \ --license-file LICENSE.txt \ + --mac-package-identifier stream-pi-server --type pkg cd $INSTALL_DIR --- 'a/.github/workflows/release.yml' +++ b/.github/workflows/release.yml @@ -30,6 +30,12 @@ jobs: workflow: build.yml name: linux-deb path: target/install + - name: Download linux rpm + uses: dawidd6/action-download-artifact@v2 + with: + workflow: build.yml + name: linux-rpm + path: target/install - name: Download linux zip uses: dawidd6/action-download-artifact@v2 with: