Merge pull request #3188 from ControlSystemStudio/CSSTUDIO-2789 #241
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: Phoebus build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest", "windows-latest", "macos-latest"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Maven and Java Action | |
| uses: s4u/setup-maven-action@v1.13.0 | |
| with: | |
| java-version: '17' | |
| maven-version: '3.9.6' | |
| - name: Build | |
| run: mvn --batch-mode install -DskipTests | |
| - name: Archive build artifacts | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: Phoebus product ${{ matrix.os }} | |
| path: | | |
| ${{ github.workspace }}/phoebus-product/target/*.tar.gz | |
| ${{ github.workspace }}/phoebus-product/target/*.zip |