Skip to content

Commit

Permalink
fix: macos M1 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshg committed Feb 1, 2024
1 parent 4203618 commit 617339d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Say, you want to execute the kotlin script with a `Serializable` data class for
<summary>script.main.kts</summary>

```kotlin
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0")
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2")

import kotlinx.serialization.*
import kotlinx.serialization.json.*
Expand All @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-lastest
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Kotlin Script
uses: sureshg/kts-exec@v2.6
Expand Down
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ runs:
steps:
- name: Get the Kotlin compiler plugin jar for ${{ inputs.compiler-plugin }}
id: kotlin-plugin
run: $GITHUB_ACTION_PATH/kotlin-plugin.sh ${{ inputs.compiler-plugin }}
run: |
which kotlin
$GITHUB_ACTION_PATH/kotlin-plugin.sh ${{ inputs.compiler-plugin }}
shell: bash

- name: Cache dependencies
Expand Down

0 comments on commit 617339d

Please sign in to comment.