File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3030 - name : Print Kotlin install and compiler plugin path
3131 run : |
3232 java -version
33- echo "Plugin Path: ${{ steps.kotlin-script-exec.outputs.plugin-path }}"
34- echo "Kotlin Root: ${{ steps.kotlin-script-exec.outputs.kotlin-root }}"
33+ echo "Plugin Path : ${{ steps.kotlin-script-exec.outputs.plugin-path }}"
34+ echo "Plugin Path (Env) : $PLUGIN_PATH"
35+ echo "Kotlin Root : ${{ steps.kotlin-script-exec.outputs.kotlin-root }}"
36+ echo "Kotlin Root (Env) : $KOTLIN_ROOT"
3537
3638 - name : List all the Kotlin binaries
3739 run : |
Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ fiddling. `kts-exec` is a composite Github Action to execute the Kotlin Script (
3030
3131### ` plugin-path `
3232
33+ Local path to the kotlin ` compiler-plugin ` . You may also access the path via ` ${{ env.PLUGIN_PATH }} ` .
34+
3335### ` kotlin-root `
3436
37+ The kotlin installation path. You may also access the path via ` ${{ env.KOTLIN_ROOT }} ` .
3538
3639## Usage
3740
Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ if [ -z "${plugin_path}" ]; then
3232 echo " ::set-output name=plugin-path::$plugin_file "
3333else
3434 echo " ::set-output name=plugin-path::$plugin_path "
35- echo " plugin-path =$plugin_path " >> " $GITHUB_ENV "
35+ echo " PLUGIN_PATH =$plugin_path " >> " $GITHUB_ENV "
3636fi
3737
3838# Set kotlin install path
3939if [ -z " ${kotlin_root} " ]; then
4040 echo " ::set-output name=kotlin-root::UNKNOWN"
4141else
4242 echo " ::set-output name=kotlin-root::$kotlin_root "
43- echo " kotlin-root =$kotlin_root " >> " $GITHUB_ENV "
43+ echo " KOTLIN_ROOT =$kotlin_root " >> " $GITHUB_ENV "
4444 # echo "{path}" >> $GITHUB_PATH
4545fi
You can’t perform that action at this time.
0 commit comments