File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 3737
3838 # Build signed release (your build.gradle wires signing from env vars)
3939 - name : Build FOSS release (APK + AAB)
40+ env :
41+ GPR_USER : ${{ github.actor }}
42+ GPR_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4043 run : |
4144 ./gradlew clean \
4245 :app:assembleFossRelease \
Original file line number Diff line number Diff line change 11name : Android CI
22
3+ env :
4+ GPR_USER : ${{ github.actor }}
5+ GPR_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6+
37on :
48 push :
59 branches : [ "master" ]
2731 run : chmod +x gradlew
2832
2933 - name : Build with Gradle (show deprecations)
34+ env :
35+ GPR_USER : ${{ github.actor }}
36+ GPR_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3037 run : ./gradlew build --warning-mode all
Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ allprojects {
1919 maven {
2020 url ' https://www.jitpack.io'
2121 }
22+ maven {
23+ url = uri(" https://maven.pkg.github.com/Pygmalion69/ors-android-client" )
24+ credentials {
25+ username = System . getenv(" GPR_USER" ) ?: findProperty(" gpr.user" )
26+ password = System . getenv(" GPR_TOKEN" ) ?: findProperty(" gpr.token" )
27+ }
28+ }
2229 }
2330 tasks. withType(JavaCompile ). tap {
2431 configureEach {
You can’t perform that action at this time.
0 commit comments