Skip to content

Commit 5454084

Browse files
authored
Merge pull request #824 from Kotlin/korro-gh-actions
Korro gh actions
2 parents 4ad0698 + f445ad0 commit 5454084

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/generated-sources-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
java-version: '11'
2121

2222
- name: Run Gradle task
23-
run: ./gradlew :core:processKDocsMain
23+
run: ./gradlew :core:processKDocsMain korro
2424

2525
- name: Commit changes
2626
run: |
2727
git config --global user.name 'github-actions[bot]'
2828
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
29-
git add ./core/generated-sources
29+
git add './core/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
3030
git diff --staged --quiet || git commit -m "Automated commit of generated code"
3131
git push
3232
env:

.github/workflows/generated-sources.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ jobs:
3535
git config --global user.name "GitHub Actions"
3636
3737
- name: Run Gradle task
38-
run: ./gradlew :core:processKDocsMain
38+
run: ./gradlew :core:processKDocsMain korro
3939

4040
- name: Check for changes in generated sources
4141
id: git-diff
42-
run: echo "::set-output name=changed::$(if git diff --quiet './core/generated-sources'; then echo 'false'; else echo 'true'; fi)"
42+
run: echo "::set-output name=changed::$(if git diff --quiet './core/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'; then echo 'false'; else echo 'true'; fi)"
4343

4444
- name: Commit and push if changes
4545
id: git-commit
4646
if: steps.git-diff.outputs.changed == 'true'
4747
run: |
4848
git checkout -b generated-sources/docs-update-${{ github.run_number }}
49-
git add './core/generated-sources'
49+
git add './core/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
5050
git commit -m "Update generated sources with recent changes"
5151
git push origin generated-sources/docs-update-${{ github.run_number }}
5252
echo "::set-output name=commit::$(git rev-parse HEAD)"

plugins/expressions-converter/src/org/jetbrains/kotlinx/dataframe/ExplainerComponentRegistrar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import org.jetbrains.kotlin.config.CompilerConfiguration
88
@OptIn(ExperimentalCompilerApi::class)
99
class ExplainerComponentRegistrar : CompilerPluginRegistrar() {
1010
override val supportsK2: Boolean
11-
get() = false
11+
get() = true
1212

1313
override fun ExtensionStorage.registerExtensions(configuration: CompilerConfiguration) {
1414
IrGenerationExtension.registerExtension(ExplainerIrGenerationExtension())

0 commit comments

Comments
 (0)