Merge pull request #3158 from ControlSystemStudio/Issue_3157 #222
This file contains 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/[email protected] | |
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 |