Final fix: update zip assembly to include jdm-core #52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release | |
| on: | |
| # This "**" means it will run on the branch you are currently testing | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: # This adds a button to manually trigger the build | |
| jobs: | |
| # --- WINDOWS MSI BUILD --- | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build Windows MSI | |
| run: mvn clean install -P win-msi | |
| - name: Upload MSI Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jdiskmark-windows-msi | |
| path: jdm-dist/jdm-windows/target/*.msi | |
| # --- LINUX DEBIAN BUILD --- | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build Debian Package | |
| run: mvn clean install -P linux-deb | |
| - name: Upload DEB Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jdiskmark-debian-pkg | |
| path: jdm-dist/target/*.deb |