File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,8 +142,9 @@ jobs:
142142 - name : Check glibc version outside docker
143143 run : ldd --version
144144 - name : Build and run in Ubuntu 20.04 container (Dry Run)
145- if : github.event_name == 'release'
146- # if: github.event_name == 'pull_request'
145+ if : |
146+ github.event_name == 'pull_request' ||
147+ inputs.dry_run == 'true'
147148 run : |
148149 docker run --platform linux/amd64 -v ${{ github.workspace }}:/workspace -w /workspace openjdk:8-jdk-buster bash -c "
149150 set -ex
@@ -208,7 +209,9 @@ jobs:
208209 mvn --batch-mode -DskipTests -Drust.release.build=true package
209210 "
210211 - name : Build and run in Ubuntu 20.04 container (Publish to Sonatype)
211- # if: github.event_name == 'release'
212+ if : |
213+ github.event_name == 'release' ||
214+ inputs.dry_run == 'false'
212215 run : |
213216 docker run --platform linux/amd64 -v ${{ github.workspace }}:/workspace -w /workspace openjdk:8-jdk-buster bash -c "
214217 set -ex
You can’t perform that action at this time.
0 commit comments