File tree Expand file tree Collapse file tree 2 files changed +21
-39
lines changed
Expand file tree Collapse file tree 2 files changed +21
-39
lines changed Original file line number Diff line number Diff line change @@ -91,26 +91,27 @@ workflow(
9191 run (command = " mkdocs build --site-dir public" )
9292 }
9393
94- job(
95- id = " build_kotlin_scripts" ,
96- name = " Build Kotlin scripts" ,
97- runsOn = UbuntuLatest ,
98- ) {
99- uses(action = Checkout ())
100- run (
101- command = """
102- find -name *.main.kts -print0 | while read -d ${' $' } '\0' file
103- do
104- if [ "${' $' } file" = "./.github/workflows/end-to-end-tests.main.kts" ]; then
105- continue
106- fi
107-
108- echo "Compiling ${' $' } file..."
109- kotlinc -Werror -Xallow-any-scripts-in-source-roots "${' $' } file"
110- done
111- """ .trimIndent()
112- )
113- }
94+ // Doesn't work due to https://youtrack.jetbrains.com/issue/KT-68681, likely going to be fixed in Kotlin 2.0.10.
95+ // job(
96+ // id = "build_kotlin_scripts",
97+ // name = "Build Kotlin scripts",
98+ // runsOn = UbuntuLatest,
99+ // ) {
100+ // uses(action = Checkout())
101+ // run(
102+ // command = """
103+ // find -name *.main.kts -print0 | while read -d ${'$'}'\0' file
104+ // do
105+ // if [ "${'$'}file" = "./.github/workflows/end-to-end-tests.main.kts" ]; then
106+ // continue
107+ // fi
108+ //
109+ // echo "Compiling ${'$'}file..."
110+ // kotlinc -Werror -Xallow-any-scripts-in-source-roots "${'$'}file"
111+ // done
112+ // """.trimIndent()
113+ // )
114+ // }
114115
115116 job(
116117 id = " workflows_consistency_check" ,
Original file line number Diff line number Diff line change @@ -121,25 +121,6 @@ jobs:
121121 run : ' pip install -r docs/requirements.txt'
122122 - id : ' step-3'
123123 run : ' mkdocs build --site-dir public'
124- build_kotlin_scripts :
125- name : ' Build Kotlin scripts'
126- runs-on : ' ubuntu-latest'
127- needs :
128- - ' check_yaml_consistency'
129- steps :
130- - id : ' step-0'
131- uses : ' actions/checkout@v4'
132- - id : ' step-1'
133- run : |-
134- find -name *.main.kts -print0 | while read -d $'\0' file
135- do
136- if [ "$file" = "./.github/workflows/end-to-end-tests.main.kts" ]; then
137- continue
138- fi
139-
140- echo "Compiling $file..."
141- kotlinc -Werror -Xallow-any-scripts-in-source-roots "$file"
142- done
143124 workflows_consistency_check :
144125 name : ' Run consistency check on all GitHub workflows'
145126 runs-on : ' ubuntu-latest'
You can’t perform that action at this time.
0 commit comments