File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,37 @@ jobs:
3030 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
3131 restore-keys : ${{ runner.os }}-gradle-
3232 - name : Set up JDK 11
33- uses : actions/setup-java@v2
33+ uses : actions/setup-java@v4
3434 with :
3535 java-version : 11
3636 distribution : ' adopt'
3737 - name : Check
3838 run : ./gradlew check
39- - name : Publish Linux
39+ - name : Publish Linux to Maven Local
4040 if : matrix.os == 'ubuntu-latest'
4141 shell : bash
4242 run : ./gradlew publishLinuxX64PublicationToMavenLocal
43- - name : Publish MacOS
43+ - name : Publish MacOS to Maven Local
4444 if : matrix.os == 'macOS-latest'
4545 shell : bash
4646 run : ./gradlew publishToMavenLocal
4747 - name : Copy artifact files
4848 run : |
4949 mkdir -p maven-local/release
5050 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
5362 with :
54- name : release
63+ name : release-macos
5564 path : |
5665 maven-local
5766 !maven-local/**/maven-metadata-local.xml
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
1212val currentOs = org.gradle.internal.os.OperatingSystem .current()
1313
1414group = " fr.acinq.bitcoin"
15- version = " 0.20.0-SNAPSHOT "
15+ version = " 0.20.0"
1616
1717repositories {
1818 google()
You can’t perform that action at this time.
0 commit comments