Skip to content

Commit

Permalink
added CI task for desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjenx committed Oct 30, 2024
1 parent 57f54af commit f447d9c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 6 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create and publish a release to Maven Central

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

jobs:
#run-android-tests:
jvm-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build and publish
run: ./gradlew jvmTest

- name: JUnit Report
uses: mikepenz/action-junit-report@v4
if: always()
with:
check_name: jvm-tests
report_paths: '**/build/test-results/jvmTest/**/*.xml'
require_tests: true

6 changes: 0 additions & 6 deletions .github/workflows/deploy-to-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

# - name: Import GPG Key
# uses: crazy-max/ghaction-import-gpg@v6
# env:
# GPG_PRIVATE_KEY: ${{ secrets.GPG_SIGNING_KEY }}
# PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Build and publish
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache
env:
Expand Down
4 changes: 4 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
Sqkon (/sk-on/) A Kotlin Multiplatform KeyValue Store with the ability to query on values using
SQLite and JSONB.

![Maven Central Version](https://img.shields.io/maven-central/v/com.mercury.sqkon/library)
![GitHub branch status](https://img.shields.io/github/checks-status/MercuryTechnologies/sqkon/main)


## Usage

```kotlin
Expand Down

0 comments on commit f447d9c

Please sign in to comment.