UX: disable plot2d/3d buttons for empty soln point #199
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
| # This workflow will build a package using Maven | |
| # For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path | |
| name: Maven Package | |
| on: [push] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
| settings-path: ${{ github.workspace }} # location for the settings.xml file | |
| - name: Install dependencies | |
| run: sudo apt-get -y install markdown | |
| - name: Build everything | |
| run: ./generate_all.sh | |
| - name: Build and run tests | |
| run: ./mvnw test | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ssplot.jar | |
| path: "./jar/ssplot.jar" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ssplot.deb | |
| path: "./*.deb" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: SSPlot-x86_64.AppImage | |
| path: "./packaging/appimage/SSPlot-x86_64.AppImage" | |
| build-windows: | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
| settings-path: ${{ github.workspace }} # location for the settings.xml file | |
| - name: Build with Maven | |
| run: ./mvnw -B -X clean package jpackage:jpackage@win | |
| - name: Show Directory Contents | |
| run: dir | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ssplot-win.jar | |
| path: "./jar/ssplot.jar" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ssplot.msi | |
| path: "./*.msi" |