Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/compilation-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v7
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v5
with:
java-version: 17
distribution: temurin
java-version: '17'
- name: Check build
run: ./gradlew detektWithoutTests build publishToMavenLocal
- name: Check unit tests
Expand All @@ -27,4 +28,4 @@ jobs:
if: matrix.os == 'macOS-latest'
- name: Check iOS
run: cd sample/ios-app && set -o pipefail && xcodebuild -scheme TestProj -workspace TestProj.xcworkspace -configuration Debug -sdk iphonesimulator -arch x86_64 build CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | xcpretty
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macOS-latest'
26 changes: 14 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,28 @@ jobs:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v7
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v5
with:
java-version: 17
distribution: temurin
java-version: '17'
- name: Publish
run: ./gradlew publish -DIS_MAIN_HOST=${{ matrix.os == 'ubuntu-latest' }}
release:
name: Create release
needs: publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
run: >
gh release create "release/${{ github.event.inputs.version }}"
--repo "${{ github.repository }}"
--target "${{ github.sha }}"
--title "${{ github.event.inputs.version }}"
--notes "Will be filled later"
--draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commitish: ${{ github.ref }}
tag_name: release/${{ github.event.inputs.version }}
release_name: ${{ github.event.inputs.version }}
body: "Will be filled later"
draft: true
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ allprojects {
project build.gradle
```groovy
dependencies {
commonMainApi("dev.icerock.moko:graphics:0.10.1")
commonMainApi("dev.icerock.moko:graphics:0.10.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
androidAppCompatVersion = "1.6.1"
androidAnnotationVersion = "1.8.0"
mokoGraphicsVersion = "0.10.1"
mokoGraphicsVersion = "0.10.2"

[libraries]
appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidAppCompatVersion" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ kotlin {
watchosX64()
watchosArm32()
watchosArm64()
watchosDeviceArm64()
watchosSimulatorArm64()
jvm()
js(IR) {
Expand All @@ -41,4 +42,4 @@ kotlin {
browser()
}
applyDefaultHierarchyTemplate()
}
}