Skip to content

Commit

Permalink
added: kmmbridge support
Browse files Browse the repository at this point in the history
  • Loading branch information
hanrw committed Feb 2, 2024
1 parent 0ad3947 commit d6d3ece
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/KMMBridge-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: iOS Publish
on:
workflow_dispatch:
# push:
# branches:
# - "main"
jobs:
call-kmmbridge-publish:
permissions:
contents: write
packages: write
uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/[email protected]
with:
jvmVersion: 17
versionBaseProperty: LIBRARY_VERSION
# secrets:
# PODSPEC_SSH_KEY: ${{ secrets.PODSPEC_SSH_KEY }}
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,4 @@ jobs:
with:
files: ${{ github.workspace }}/build/reports/kover/report.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
call-kmmbridge-publish:
permissions:
contents: write
packages: write
uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/[email protected]
with:
jvmVersion: 17
versionBaseProperty: LIBRARY_VERSION
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ kotlin.mpp.enableCInteropCommonization=true
#Development
development=true

LIBRARY_VERSION=0.1.0
LIBRARY_VERSION=0.1
GROUP=com.snacks.lemonsqueezy
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
}

fun String.isNonStable(): Boolean {
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { toUpperCase().contains(it) }
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { uppercase().contains(it) }
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
val isStable = stableKeyword || regex.matches(this)
return isStable.not()
Expand Down

0 comments on commit d6d3ece

Please sign in to comment.