Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Commit 43ef2db

Browse files
committed
README / Gradle publish
1 parent cd50399 commit 43ef2db

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

.github/workflows/gradle-publish.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
2+
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle
3+
4+
name: Gradle Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up JDK
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 8
21+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
22+
settings-path: ${{ github.workspace }} # location for the settings.xml file
23+
24+
- name: Build with Gradle
25+
run: gradle build
26+
27+
- name: Publish to Bintray
28+
env:
29+
bintray_user: ${{ secrets.BINTRAY_USER }}
30+
bintray_key: ${{ secrets.BINTRAY_KEY }}
31+
run: gradle bintrayUpload

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Kotlin JVM client for [PostgREST](https://postgrest.org/)
44

5+
![Java CI with Gradle](https://img.shields.io/github/workflow/status/supabase/postgrest-kt/Java%20CI%20with%20Gradle?label=BUILD&style=for-the-badge)
6+
![Gradle Package](https://img.shields.io/github/workflow/status/supabase/postgrest-kt/Gradle%20Package?label=PUBLISH&style=for-the-badge)
7+
![Bintray](https://img.shields.io/bintray/v/supabase/supabase/postgrest-kt?style=for-the-badge)
8+
59
## Installation
610

711
Maven

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)