This repository was archived by the owner on Oct 28, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-latest
6
6
steps :
7
7
- uses : actions/checkout@v2
8
- - name : Set up JDK 1.8
8
+ - name : Set up JDK 11
9
9
uses : actions/setup-java@v1
10
10
with :
11
- java-version : 1.8
11
+ java-version : 11
12
12
- run : chmod +x gradlew
13
13
- run : chmod -R 777 ./
14
14
- name : Build Library
Original file line number Diff line number Diff line change 7
7
if : " contains(github.event.head_commit.message, '[Released]')"
8
8
steps :
9
9
- uses : actions/checkout@v2
10
- - name : Set up JDK 1.8
10
+ - name : Set up JDK 11
11
11
uses : actions/setup-java@v1
12
12
with :
13
- java-version : 1.8
13
+ java-version : 11
14
14
- name : Creating local properties file
15
15
run : echo signing.keyId=${{ secrets.SIGNING_KEYID }} >> local.properties
16
16
- run : echo signing.password=${{ secrets.SIGNING_PASSWORD }} >> local.properties
@@ -27,11 +27,13 @@ jobs:
27
27
- run : type local.properties
28
28
- run : chmod +x gradlew
29
29
- name : Stage annotations
30
- run : ./gradlew autobindings-annotations:uploadArchives
30
+ run : ./gradlew autobindings-annotations:publish
31
31
- name : Stage compiler
32
- run : ./gradlew autobindings-compiler:uploadArchives
32
+ run : ./gradlew autobindings-compiler:publish
33
+ - name : Stage Room-noop
34
+ run : ./gradlew autobindings-room-noop:publish
33
35
- name : Stage library
34
- run : ./gradlew autobindings:publishReleasePublicationToSonatypeRepository
36
+ run : ./gradlew autobindings:publish
35
37
- name : Closing repository
36
38
run : ./gradlew closeRepository
37
39
- name : Release repository
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ task clean(type: Delete) {
33
33
}
34
34
35
35
tasks. register(" publishAllLibrariesToMavenCentral" ) {
36
- def t1 = tasks. getByPath(" autobindings-annotations:uploadArchives " )
37
- def t2 = tasks. getByPath(" autobindings-compiler:uploadArchives " )
38
- def t3 = tasks. getByPath(" autobindings-room-noop:publishReleasePublicationToSonatypeRepository " )
39
- def t4 = tasks. getByPath(" autobindings:publishReleasePublicationToSonatypeRepository " )
36
+ def t1 = tasks. getByPath(" autobindings-annotations:publish " )
37
+ def t2 = tasks. getByPath(" autobindings-compiler:publish " )
38
+ def t3 = tasks. getByPath(" autobindings-room-noop:publish " )
39
+ def t4 = tasks. getByPath(" autobindings:publish " )
40
40
41
41
def t5 = tasks. getByName(" closeRepository" )
42
42
def t6 = tasks. getByName(" releaseRepository" )
You can’t perform that action at this time.
0 commit comments