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
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v7

- uses: touchlab/read-property@0.1
id: version-name
Expand All @@ -17,19 +17,12 @@ jobs:
- name: Echo Version
run: echo "${{ steps.version-name.outputs.propVal }}"

- uses: actions/setup-java@v2
- uses: actions/setup-java@v5
with:
distribution: "adopt"
distribution: "temurin"
java-version: "17"
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Cache gradle
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6

- name: Cache konan
uses: actions/cache@v4
Expand All @@ -42,11 +35,8 @@ jobs:
- name: Publish Artifacts to Maven Central
run: ./gradlew publish --no-daemon --stacktrace --no-build-cache
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}

- name: Create Release
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kotlin.code.style=official

GROUP=co.touchlab

VERSION_NAME=1.3.3
VERSION_NAME=1.4.0
KOTLIN_VERSION=2.2.10

kotlin.native.ignoreDisabledTargets=true
Expand Down
Loading