diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 518e791..a44c581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,10 +19,25 @@ jobs: distribution: temurin cache: maven - - name: Setup Testcontainers Cloud Client - uses: atomicjar/testcontainers-cloud-setup-action@v1 - with: - token: ${{ secrets.TC_CLOUD_TOKEN }} +# - name: Setup Testcontainers Cloud Client +# uses: atomicjar/testcontainers-cloud-setup-action@v1 +# with: +# token: ${{ secrets.TC_CLOUD_TOKEN }} - name: Run Maven run: mvn -B clean verify com.mycila:license-maven-plugin:check + + - name: Dump Zeebe logs + uses: jwalton/gh-docker-logs@v2 + with: + images: 'ghcr.io/camunda-community-hub/zeebe-with-redis-exporter' + dest: './logs' + - name: Tar logs + if: failure() + run: tar cvzf ./logs.tgz ./logs + - name: Upload logs to GitHub + if: failure() + uses: actions/upload-artifact@master + with: + name: logs.tgz + path: ./logs.tgz \ No newline at end of file