Skip to content

Commit 8cd8b2b

Browse files
committed
Update README badges and artifact name, and refine Konan cache configuration
- Replace the GitHub tag badge with a Maven Central version badge in `README.md` - Update the implementation dependency string in the documentation to use the correct artifact ID `sp24-kt` - Upgrade `actions/cache` from v4.2.3 to v5 in the `setup-project` action - Add `restore-keys` to the Konan cache configuration to improve cache hit rates
1 parent a12dc55 commit 8cd8b2b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/actions/setup-project/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Cached konan
13-
uses: actions/cache@v4.2.3
13+
uses: actions/cache@v5
1414
with:
1515
path: ~/.konan
1616
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
17+
restore-keys: ${{ runner.os }}-konan-
1718

1819
- name: Prepare JDK
1920
uses: actions/setup-java@v5.2.0

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SP24.kt
22

33
[![Gradle Test & Publish](https://github.com/VPlanPlus-Project/SP24.kt/actions/workflows/publish.yaml/badge.svg)](https://github.com/VPlanPlus-Project/SP24.kt/actions/workflows/publish.yaml)
4-
![Current version](https://img.shields.io/github/v/tag/VPlanPlus-Project/SP24.kt?style=flat&label=Current%20version)
4+
![Maven Central Version](https://img.shields.io/maven-central/v/plus.vplan.lib/sp24-kt?strategy=highestVersion&style=flat-square&label=Current%20version)
5+
56

67

78

@@ -26,7 +27,7 @@ Checkout the [latest release](https://github.com/VPlanPlus-Project/SP24.kt/relea
2627
this version number in your `libs.versions.toml` or `build.gradle.kts`:
2728

2829
```kotlin
29-
implementation("plus.vplan.lib:sp24:VERSION")
30+
implementation("plus.vplan.lib:sp24-kt:VERSION")
3031
```
3132

3233
# Using the library

0 commit comments

Comments
 (0)