Skip to content

Commit

Permalink
ci: fix enabling of maven cache
Browse files Browse the repository at this point in the history
(cherry picked from commit 2dba95b)
  • Loading branch information
lenaschoenburg committed Oct 11, 2022
1 parent 083cfe2 commit b74f613
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-zeebe
with:
maven-cache: 'true'
- uses: ./.github/actions/build-zeebe
id: build-zeebe
with:
Expand All @@ -50,7 +52,7 @@ jobs:
run: |
curl -L -o agent https://app.testcontainers.cloud/download/testcontainers-cloud-agent_linux_x86-64
chmod +x agent
./agent --private-registry-url=http://localhost:5000 '--private-registry-allowed-image-name-globs=*,*/*' &
./agent --private-registry-url=http://localhost:5000 '--private-registry-allowed-image-name-globs=*,*/*' > .testcontainers-agent.log 2>&1 &
./agent wait
- name: Create build output log file
run: echo "BUILD_OUTPUT_FILE_PATH=$(mktemp)" >> $GITHUB_ENV
Expand Down Expand Up @@ -90,6 +92,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-zeebe
with:
maven-cache: 'true'
- uses: ./.github/actions/build-zeebe
id: build-zeebe
with:
Expand All @@ -105,7 +109,6 @@ jobs:
run: |
curl -L -o agent https://app.testcontainers.cloud/download/testcontainers-cloud-agent_linux_x86-64
chmod +x agent
./agent --private-registry-url=http://localhost:5000 '--private-registry-allowed-image-name-globs=*,*/*' &
./agent wait
- name: Create build output log file
run: echo "BUILD_OUTPUT_FILE_PATH=$(mktemp)" >> $GITHUB_ENV
Expand Down Expand Up @@ -137,6 +140,7 @@ jobs:
- uses: ./.github/actions/setup-zeebe
with:
go: false
maven-cache: 'true'
- uses: ./.github/actions/build-zeebe
with:
go: false
Expand Down Expand Up @@ -204,6 +208,7 @@ jobs:
- uses: ./.github/actions/setup-zeebe
with:
go: false
maven-cache: 'true'
- uses: ./.github/actions/build-zeebe
with:
go: false
Expand Down Expand Up @@ -266,6 +271,8 @@ jobs:
- uses: ./.github/actions/setup-zeebe
with:
go: false
maven-cache: 'true'
maven-cache-key-modifier: java-client
- uses: ./.github/actions/build-zeebe
with:
go: false
Expand Down Expand Up @@ -309,6 +316,7 @@ jobs:
- uses: ./.github/actions/setup-zeebe
with:
go: false
maven-cache: 'true'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down Expand Up @@ -354,6 +362,8 @@ jobs:
- uses: ./.github/actions/setup-zeebe
with:
go: false
maven-cache: 'true'
maven-cache-key-modifier: java-checks
- run: mvn -T1C -B -D skipTests -P !autoFormat,checkFormat,spotbugs verify
docker-checks:
name: Docker checks
Expand Down

0 comments on commit b74f613

Please sign in to comment.