66 merge_group :
77
88env :
9- GRAALCE_JDK_VERSION : ' 17.0.9'
9+ GRAALCE_JDK_VERSION : " 17.0.9"
1010 # concatenation of env variables isn't currently supported
1111 # so need to specify version explicitly
1212 GRAALVM_HOME : /opt/hostedtoolcache/Java_graalce_jdk/17.0.9/x64
@@ -42,12 +42,12 @@ jobs:
4242 while IFS= read -r file
4343 do
4444 echo $file
45- if [[ $file != docs/* ]]; then
46- echo "This modified file is not under the 'docs' folder. Will run tests."
47- echo "run_tests=true" >> $GITHUB_OUTPUT
48- elif [[ $file = docs/* ]] || [[ $file = mkdocs.yml ]] || [[ $file = main.py ]]; then
49- echo "This modified file is under the 'docs' folder. Will run docs workflow."
45+ if [[ $file = docs/* ]] || [[ $file = mkdocs.yml ]] || [[ $file = main.py ]]; then
46+ echo "This modified file is docs-related. Will run docs workflow."
5047 echo "run_docs=true" >> $GITHUB_OUTPUT
48+ else
49+ echo "This modified file is not docs-related. Will run tests."
50+ echo "run_tests=true" >> $GITHUB_OUTPUT
5151 fi
5252 done < files.txt
5353
5959 secrets : inherit
6060 with :
6161 runs-on : ubuntu-latest
62- ref : ${{ inputs.ref }}
6362 task : apiCheck --continue
6463
6564 gradle-check :
7776 secrets : inherit
7877 with :
7978 runs-on : ${{ matrix.os }}
80- ref : ${{ inputs.ref }}
8179 task : >
8280 -P"kotlinFaker_enableKotlinJs=true"
8381 -P"kotlinFaker_enableKotlinNative=true"
@@ -105,7 +103,7 @@ jobs:
105103 - name : Set up GraalCE JDK
106104 uses : actions/setup-java@v4
107105 with :
108- distribution : ' jdkfile'
106+ distribution : " jdkfile"
109107 jdkFile : ${{ runner.temp }}/java_package.tar.gz
110108 java-version : ${{ steps.fetch_latest_jdk.outputs.java_version }}
111109 architecture : x64
@@ -150,8 +148,6 @@ jobs:
150148 runs-on : ubuntu-latest
151149 steps :
152150 - uses : actions/checkout@v4
153- with :
154- ref : ${{ inputs.ref }}
155151 - uses : actions/setup-python@v5
156152 with :
157153 python-version : 3.x
@@ -170,7 +166,7 @@ jobs:
170166 finalize :
171167 # see https://github.qkg1.topmunity/t/status-check-for-a-matrix-jobs/127354/7
172168 name : Final PR results
173- needs : [validate-api, gradle-check, docs-check]
169+ needs : [validate-api, gradle-check, docs-check, cli-check ]
174170 if : ${{ always() }}
175171 runs-on : ubuntu-latest
176172 steps :
0 commit comments