This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Bintray
2+
3+ on :
4+ create :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ publish :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up JDK 1.8
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.8
19+ - name : Grant execute permission for gradlew
20+ run : chmod +x gradlew
21+ - name : Clean
22+ run : ./gradlew clean
23+ - name : Assemble
24+ run : ./gradlew assemble
25+ - name : Install
26+ run : ./gradlew install
27+ - name : Upload
28+ run : ./gradlew bintrayUpload
29+ env :
30+ bintrayUsername : ${{ secrets.BINTRAY_USER }}
31+ bintrayApiKey : ${{ secrets.BINTRAY_API_KEY }}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ buildscript {
1010 dependencies {
1111 classpath ' com.android.tools.build:gradle:4.0.0'
1212 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
13- classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3 '
14- classpath ' com.github.dcendents:android-maven-gradle-plugin:2.0 '
13+ classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 '
14+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1 '
1515 }
1616}
1717
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ Properties properties = new Properties()
3535properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
3636
3737bintray {
38- user = properties . getProperty( " bintray.user " )
39- key = properties . getProperty( " bintray.apikey " )
38+ user = System . getenv( " bintrayUsername " )
39+ key = System . getenv( " bintrayApiKey " )
4040
4141 configurations = [' archives' ]
4242 pkg {
You can’t perform that action at this time.
0 commit comments