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
16 changes: 8 additions & 8 deletions .github/workflows/Base-Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout the repo with tags
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
fetch-tags: true

- uses: touchlab/read-property@0.1
- uses: touchlab/read-property@0.2
id: versionPropertyValue
with:
file: ./gradle.properties
Expand All @@ -38,19 +38,19 @@ jobs:
run: echo "${{ steps.versionPropertyValue.outputs.propVal }}"

- name: Touchlab Sample Sanity Check (Ignore this for your CI) # GitHub Packages can have issues with conflicting maven coordinates.
uses: touchlab/sample-group-sanity-check@main
uses: touchlab/sample-group-sanity-check@0.3

- uses: actions/setup-java@v4
- uses: actions/setup-java@v6
with:
distribution: "adopt"
distribution: "temurin"
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v6

- name: Create or Find Artifact Release
id: devrelease
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: "${{ steps.versionPropertyValue.outputs.propVal }}"
Expand All @@ -69,7 +69,7 @@ jobs:

# The GitHub Release hosts the Xcode binary, but we need to query GitHub for the URL after the binary is uploaded,
# then generate the Package.swift file. Once that is committed, we need to point the release tag at the final commit.
- uses: touchlab/ga-update-release-tag@v1
- uses: touchlab/ga-update-release-tag@v1.1
id: update-release-tag
with:
commitMessage: "KMP SPM package release for ${{ steps.versionPropertyValue.outputs.propVal }}"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ kotlin.code.style=official
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4g

LIBRARY_VERSION=0.2.5
LIBRARY_VERSION=0.3.2
GROUP=co.touchlab.kmmbridgespmquickstart
# org.gradle.configuration-cache=true No config cache with maven... https://github.com/touchlab/KMMBridge/issues/272