Publish example report #19
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: Publish example report | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Run example project | |
working-directory: ./examples/maven-example | |
run: ../../mvnw clean verify | |
- name: Deploy example report | |
uses: SamKirkland/FTP-Deploy-Action@v4.3.5 | |
with: | |
server: ${{ secrets.FTPSERVER }} | |
username: ${{ secrets.FTPUSER }} | |
password: ${{ secrets.FTPPASS }} | |
local-dir: ./examples/maven-example/target/cluecumber-report/ | |
server-dir: ./httpdocs/softwaretester/cluecumber/ |