diff --git a/.github/workflows/compilation-check.yml b/.github/workflows/compilation-check.yml index fc5c2df..9be8678 100644 --- a/.github/workflows/compilation-check.yml +++ b/.github/workflows/compilation-check.yml @@ -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 @@ -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' \ No newline at end of file + if: matrix.os == 'macOS-latest' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0cfe9e..6cfc478 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 6c53cec..e9dd83a 100755 --- a/README.md +++ b/README.md @@ -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") } ``` diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d3f16da..01156c4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } diff --git a/graphics-build-logic/src/main/kotlin/multiplatform-library-convention.gradle.kts b/graphics-build-logic/src/main/kotlin/multiplatform-library-convention.gradle.kts index c24c34b..5f6d05c 100644 --- a/graphics-build-logic/src/main/kotlin/multiplatform-library-convention.gradle.kts +++ b/graphics-build-logic/src/main/kotlin/multiplatform-library-convention.gradle.kts @@ -26,6 +26,7 @@ kotlin { watchosX64() watchosArm32() watchosArm64() + watchosDeviceArm64() watchosSimulatorArm64() jvm() js(IR) { @@ -41,4 +42,4 @@ kotlin { browser() } applyDefaultHierarchyTemplate() -} \ No newline at end of file +}