Zilla is validating env vars before replacing them #3477
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: build | |
on: | |
push: | |
branches: [ develop, 'feature/**' ] | |
pull_request: | |
branches: [ develop, 'feature/**' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 17, 20 ] | |
steps: | |
- name: Checkout GitHub sources | |
uses: actions/checkout@v4 | |
- name: Setup JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.java }} | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.m2/repository | |
!~/.m2/repository/io/aklivity/zilla | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Build with Maven | |
run: ./mvnw -B -U -nsu -Ddocker.logStdout -Dfailsafe.skipAfterFailureCount=1 -Ddocker.verbose install jacoco:report-aggregate | |
- name: Conditional Artifact Upload | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: zilla-dump | |
path: | | |
incubator/*/target/zilla-itests/ | |
incubator/*/target/failsafe-reports/ | |
runtime/*/target/zilla-itests/ | |
runtime/*/target/failsafe-reports/ |