File tree 2 files changed +16
-7
lines changed
2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,37 @@ jobs:
30
30
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
31
31
restore-keys : ${{ runner.os }}-gradle-
32
32
- name : Set up JDK 11
33
- uses : actions/setup-java@v2
33
+ uses : actions/setup-java@v4
34
34
with :
35
35
java-version : 11
36
36
distribution : ' adopt'
37
37
- name : Check
38
38
run : ./gradlew check
39
- - name : Publish Linux
39
+ - name : Publish Linux to Maven Local
40
40
if : matrix.os == 'ubuntu-latest'
41
41
shell : bash
42
42
run : ./gradlew publishLinuxX64PublicationToMavenLocal
43
- - name : Publish MacOS
43
+ - name : Publish MacOS to Maven Local
44
44
if : matrix.os == 'macOS-latest'
45
45
shell : bash
46
46
run : ./gradlew publishToMavenLocal
47
47
- name : Copy artifact files
48
48
run : |
49
49
mkdir -p maven-local/release
50
50
cp -r ~/.m2/repository/* maven-local/release
51
- - name : Upload artifacts
52
- uses : actions/upload-artifact@v2
51
+ - name : Upload linux artifacts
52
+ if : matrix.os == 'ubuntu-latest'
53
+ uses : actions/upload-artifact@v4
54
+ with :
55
+ name : release-linux
56
+ path : |
57
+ maven-local
58
+ !maven-local/**/maven-metadata-local.xml
59
+ - name : Upload macos artifacts
60
+ if : matrix.os == 'macOS-latest'
61
+ uses : actions/upload-artifact@v4
53
62
with :
54
- name : release
63
+ name : release-macos
55
64
path : |
56
65
maven-local
57
66
!maven-local/**/maven-metadata-local.xml
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
val currentOs = org.gradle.internal.os.OperatingSystem .current()
13
13
14
14
group = " fr.acinq.bitcoin"
15
- version = " 0.20.0-SNAPSHOT "
15
+ version = " 0.20.0"
16
16
17
17
repositories {
18
18
google()
You can’t perform that action at this time.
0 commit comments