Skip to content

Commit 271ec9f

Browse files
committed
Remove check RUN_TESTS_ONLY form Java CI Workflow
1 parent 45beb76 commit 271ec9f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
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'
6867
uses: benc-uk/[email protected]
6968
with:
7069
workflow: Java CI

0 commit comments

Comments
 (0)