Adjust postgres startup to work with new Docker 18+ structure #104
This file contains hidden or 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: Distribution Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| MAVEN_ARGS: >- | |
| -B -V --no-transfer-progress | |
| -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 | |
| jobs: | |
| check-distribution: | |
| name: Linux JDK 21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 21 | |
| - name: Cache Maven Repository | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-maven- | |
| - name: Verify Distribution | |
| run: ./mvnw verify -Pdeploy ${MAVEN_ARGS} -T 1C -DskipTests=true -Dgpg.skip=true | |
| - name: Upload Distribution Artifact | |
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: flowable-distribution-artifact | |
| path: 'distro/target/flowable-*.zip' | |
| retention-days: 10 | |
| if-no-files-found: 'error' | |
| - name: Remove Flowable artifacts from cache | |
| run: rm -rf ~/.m2/repository/org/flowable |