deployment: upload.txt uses lookup-paths to find files #1325
Workflow file for this run
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: Build znai | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Set up grahpviz | |
run: sudo apt-get install graphviz | |
- name: Build with xvfb enabled | |
uses: GabrielBB/[email protected] | |
with: | |
run: mvn -B package | |
- name: upload webtau test report | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: webtau report | |
path: znai-tests/src/test/groovy/webtau.report.html | |
retention-days: 3 | |
- name: upload testing examples webtau test report | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: webtau testing examples report | |
path: znai-testing-examples/examples/webtau.report.html | |
retention-days: 3 | |
- name: upload screenshots when build fails | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: doc screenshots | |
path: znai-testing-examples/**/*.png | |
retention-days: 3 |