Skip to content

nightly main branch build #319

nightly main branch build

nightly main branch build #319

Workflow file for this run

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