Publish example report #18
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 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Run example project | |
working-directory: ./examples/maven-example | |
run: ../../mvnw clean verify | |
- name: Deploy example report | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTPSERVER }} | |
username: ${{ secrets.FTPUSER }} | |
password: ${{ secrets.FTPPASS }} | |
local-dir: ./examples/maven-example/target/cluecumber-report/ | |
server-dir: ./httpdocs/softwaretester/cluecumber/ |