nightly main branch build #319
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: nightly main branch build | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # nightly | |
jobs: | |
matrix-build: | |
uses: ./.github/workflows/matrix-build.yml | |
secrets: inherit | |
get-version: | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.version.outputs.version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
settings-path: ${{ github.workspace }} | |
- id: version | |
run: | | |
chmod +x mvnw && ./mvnw validate -N | |
echo "version=$(cat target/version.txt)" >> $GITHUB_OUTPUT | |
generate-automation-project: | |
uses: ./.github/workflows/generate-automation-project.yml | |
secrets: inherit | |
with: | |
archetype-version: ${{ needs.get-version.outputs.version }} | |
needs: get-version |