File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 18
18
19
19
steps :
20
20
- uses : actions/checkout@v4
21
+ - name : Get Kotlin version
22
+ id : get-kotlin-version
23
+ run : |
24
+ echo "version=$(cat gradle/libs.versions.toml | grep -m1 kotlin | cut -d'=' -f2 - | tr -d ' "')" >> $GITHUB_OUTPUT
25
+ - uses : actions/cache@v4
26
+ with :
27
+ key : konan-${{ runner.os }}-${{ steps.get-kotlin-version.outputs.version }}
28
+ path : ~/.konan
21
29
- name : Set up JDK 11
22
30
uses : actions/setup-java@v4
23
31
with :
Original file line number Diff line number Diff line change 15
15
name : Build and publish release
16
16
runs-on : ubuntu-24.04
17
17
steps :
18
- - name : Checkout
19
- uses : actions/checkout@v4
18
+ - uses : actions/checkout@v4
19
+ - name : Get Kotlin version
20
+ id : get-kotlin-version
21
+ run : |
22
+ echo "version=$(cat gradle/libs.versions.toml | grep -m1 kotlin | cut -d'=' -f2 - | tr -d ' "')" >> $GITHUB_OUTPUT
23
+ - uses : actions/cache@v4
24
+ with :
25
+ key : konan-${{ runner.os }}-${{ steps.get-kotlin-version.outputs.version }}
26
+ path : ~/.konan
20
27
- name : Set up JDK
21
28
uses : actions/setup-java@v4
22
29
with :
You can’t perform that action at this time.
0 commit comments