This repository was archived by the owner on Nov 7, 2023. It is now read-only.
File tree 3 files changed +35
-0
lines changed
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 2
2
3
3
Kotlin JVM client for [ PostgREST] ( https://postgrest.org/ )
4
4
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
+
5
9
## Installation
6
10
7
11
Maven
You can’t perform that action at this time.
0 commit comments