From: Debayan Sutradhar Date: Fri, 25 Jun 2021 20:31:58 +0530 Subject: removed macos x86 since it does not exist --- removed macos x86 since it does not exist --- --- 'a/.github/workflows/build.yml' +++ b/.github/workflows/build.yml @@ -277,74 +277,6 @@ jobs: name: macos-pkg-x64 path: target/install/stream-pi-server-macos-x64-${{ env.VERSION }}.pkg - build-macos-x86: - runs-on: macos-10.15 - steps: - - uses: actions/checkout@v2 - - name: Setup java - uses: actions/setup-java@v2 - with: - java-version: 16 - distribution: adopt - architecture: x86 - - name: Delete Default.zip - run: | - rm -rf src/main/resources/com/stream_pi/server/Default.zip - - name: Downloading Default.zip ... - uses: dawidd6/action-download-artifact@v2 - with: - workflow: init.yml - name: default-zip - path: src/main/resources/com/stream_pi/server - - name: Setup JavaFX - run: | - wget -P /tmp https://download2.gluonhq.com/openjfx/17/openjfx-17-ea+12_osx-x86_bin-jmods.zip - unzip /tmp/openjfx-17-ea+12_osx-x86_bin-jmods.zip -d /tmp - - name: Download built jars - uses: dawidd6/action-download-artifact@v2 - with: - workflow: init.yml - name: built-jars - path: target/lib/ - - name: Download REQ_MODULES - uses: dawidd6/action-download-artifact@v2 - with: - workflow: init.yml - name: req_modules - - name: Download VERSION - uses: dawidd6/action-download-artifact@v2 - with: - workflow: init.yml - name: version - - name: Add VERSION to environment - run: | - echo "VERSION=$(> $GITHUB_ENV - - name: Add REQ_MODULES to environment - run: | - echo "REQ_MODULES=$(> $GITHUB_ENV - - name: Create PKG - run: | - - # 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 - mv *.pkg stream-pi-server-macos-x86-${{ 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 x86 PKG - uses: actions/upload-artifact@v2 - with: - name: macos-pkg-x86 - path: target/install/stream-pi-server-macos-x86-${{ env.VERSION }}.pkg - build-windows-x64: runs-on: windows-2019 steps: --- 'a/.github/workflows/release.yml' +++ b/.github/workflows/release.yml @@ -72,12 +72,6 @@ jobs: workflow: build.yml name: macos-pkg-x64 path: target/install - - name: Download MacOS x86 pkg - uses: dawidd6/action-download-artifact@v2 - with: - workflow: build.yml - name: macos-pkg-x86 - path: target/install - name: Delete old release if exists uses: dev-drprasad/delete-tag-and-release@v0.2.0 continue-on-error: true