Fix CI bdk-jvm
This commit is contained in:
parent
849bfe79c1
commit
5fc189717d
16
.github/workflows/publish-jvm.yaml
vendored
16
.github/workflows/publish-jvm.yaml
vendored
@ -3,7 +3,7 @@ on: [workflow_dispatch]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macOS-native-libs:
|
build-macOS-native-libs:
|
||||||
name: "Create M1 and x86_64 JVM native binaries"
|
name: "Create M1 and x86_64 native binaries"
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout publishing branch"
|
- name: "Checkout publishing branch"
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/src/main/resources/
|
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/src/main/resources/
|
||||||
|
|
||||||
build-windows-native-lib:
|
build-windows-native-lib:
|
||||||
name: "Create Windows-compatible JVM native binaries"
|
name: "Create Windows native binaries"
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout publishing branch"
|
- name: "Checkout publishing branch"
|
||||||
@ -102,22 +102,24 @@ jobs:
|
|||||||
cd bdk-jvm
|
cd bdk-jvm
|
||||||
./gradlew buildJvmLib
|
./gradlew buildJvmLib
|
||||||
|
|
||||||
- name: "Download macOS native libraries from previous job"
|
- name: "Download macOS native binaries from previous job"
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
id: download
|
|
||||||
with:
|
with:
|
||||||
# Download the macOS artifacts created in the prior job
|
|
||||||
name: artifact-macos
|
name: artifact-macos
|
||||||
path: ./bdk-jvm/lib/src/main/resources/
|
path: ./bdk-jvm/lib/src/main/resources/
|
||||||
|
|
||||||
- name: "Download Windows native libraries from previous job"
|
- name: "Download Windows native libraries from previous job"
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
id: download
|
|
||||||
with:
|
with:
|
||||||
# Download the Windows artifacts created in the prior job
|
|
||||||
name: artifact-windows
|
name: artifact-windows
|
||||||
path: ./bdk-jvm/lib/src/main/resources/
|
path: ./bdk-jvm/lib/src/main/resources/
|
||||||
|
|
||||||
|
- name: "Upload library code and binaries"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: artifact-full
|
||||||
|
path: ./bdk-jvm/lib/
|
||||||
|
|
||||||
- name: "Publish to Maven Central"
|
- name: "Publish to Maven Central"
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PGP_KEY_ID }}
|
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PGP_KEY_ID }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user