Build blueprint from validation #1203
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: Pull Request Build | |
# For pull requests: builds and test | |
on: | |
push: | |
branches: | |
- '!master' | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
buildAndTestPR: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Java 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11.0.9' | |
- name: build and test | |
run: ./gradlew assemble --info && ./gradlew check --info | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-results | |
path: "**/build/reports/tests/test" | |
# Default is 90 days | |
retention-days: 7 |