Add publication in #9
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: Run tests and Publish Artifacts | |
on: | |
push: | |
paths-ignore: | |
- "ansible/**" | |
- ".github/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Test, build and publish all projects | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch Tags for Reckon usage | |
run: git fetch --unshallow --tags | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Test and Compile with Gradle, and publish artifacts | |
run: | | |
./gradlew \ | |
-PgithubUsername="${{ secrets.REPOSITORY_USERNAME }}" \ | |
-PgithubPassword="${{ secrets.REPOSITORY_TOKEN }}" \ | |
clean check assemble publish --parallel |