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+ build :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v1
15+ - name : set up JDK 1.8
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.8
19+
20+ - name : Create Artifacts
21+ run : ./gradlew install
22+
23+ - name : Publish To Bintray
24+ env :
25+ bintrayUsername : ${{ secrets.BINTRAY_USER }}
26+ bintrayApiKey : ${{ secrets.BINTRAY_API_KEY }}
27+ run : ./gradlew bintrayUpload
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