1717 env :
1818 WORKSPACE : ${{ github.workspace }}
1919 GRADLE_OPTS : -Xmx1500m -Dfile.encoding=UTF-8
20- RUN_TESTS_ONLY : false
2120 steps :
2221 - uses : actions/checkout@v2
2322 - uses : actions/cache@v2
@@ -42,10 +41,10 @@ jobs:
4241 github_token : ${{ secrets.GITHUB_TOKEN }}
4342 report_paths : ' **/build/test-results/test/TEST-*.xml'
4443 - name : Run Assemble
45- if : success() && github.event_name == 'push' && matrix.java == '8' && env.RUN_TESTS_ONLY == false
44+ if : success() && github.event_name == 'push' && matrix.java == '8'
4645 run : ./gradlew assemble
4746 - name : Publish to repo.grails.org
48- if : success() && github.event_name == 'push' && matrix.java == '8' && env.RUN_TESTS_ONLY == false
47+ if : success() && github.event_name == 'push' && matrix.java == '8'
4948 env :
5049 SECRING_FILE : ${{ secrets.SECRING_FILE }}
5150 SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
@@ -56,15 +55,15 @@ jobs:
5655 echo $SECRING_FILE | base64 -d > secring.gpg
5756 ./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="secring.gpg" publish
5857 - name : Extract branch name
59- if : success() && github.event_name == 'push' && matrix.java == '8' && env.RUN_TESTS_ONLY == false
58+ if : success() && github.event_name == 'push' && matrix.java == '8'
6059 id : extract_branch
6160 run : echo ::set-output name=value::${GITHUB_REF:11}
6261 - name : Create Snapshot Message for the Workflow Dispatch
63- if : success() && github.event_name == 'push' && matrix.java == '8' && env.RUN_TESTS_ONLY == false
62+ if : success() && github.event_name == 'push' && matrix.java == '8'
6463 id : dispatch_message
6564 run : echo ::set-output name=value::{\"message\":\"New Core Snapshot $(date) - $GITHUB_SHA\"}
6665 - name : Invoke the Java CI workflow in GORM Hibernate5
67- if : success() && github.event_name == 'push' && matrix.java == '8' && env.RUN_TESTS_ONLY == false
66+ if : success() && github.event_name == 'push' && matrix.java == '8'
68676968 with :
7069 workflow : Java CI
0 commit comments