Merge pull request #269 from raynigon/dependabot/github_actions/eskat… #252
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: CI - Main | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: adopt | |
- name: Unit Tests | |
uses: eskatos/[email protected] | |
with: | |
arguments: test | |
- name: Codacy Publish | |
uses: codacy/codacy-coverage-reporter-action@master | |
with: | |
project-token: ${{ secrets.CODACY_TOKEN }} | |
javadoc: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: adopt | |
- name: Generate javadoc | |
uses: eskatos/[email protected] | |
with: | |
arguments: globalJavadoc | |
#- name: Upload javadoc | |
# uses: sebastianpopp/ftp-action@releases/v2 | |
# with: | |
# host: ${{ secrets.WEBSPACE_HOST }} | |
# user: ${{ secrets.WEBSPACE_USER }} | |
# password: ${{ secrets.WEBSPACE_PASSWORD }} | |
# localDir: "build/javadoc/" | |
# remoteDir: "javadoc/" |