Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI bdk-jvm #382

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/publish-jvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [workflow_dispatch]

jobs:
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
steps:
- name: "Checkout publishing branch"
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/src/main/resources/

build-windows-native-lib:
name: "Create Windows-compatible JVM native binaries"
name: "Create Windows native binaries"
runs-on: windows-2022
steps:
- name: "Checkout publishing branch"
Expand Down Expand Up @@ -102,22 +102,24 @@ jobs:
cd bdk-jvm
./gradlew buildJvmLib

- name: "Download macOS native libraries from previous job"
- name: "Download macOS native binaries from previous job"
uses: actions/download-artifact@v3
id: download
with:
# Download the macOS artifacts created in the prior job
name: artifact-macos
path: ./bdk-jvm/lib/src/main/resources/

- name: "Download Windows native libraries from previous job"
uses: actions/download-artifact@v3
id: download
with:
# Download the Windows artifacts created in the prior job
name: artifact-windows
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"
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PGP_KEY_ID }}
Expand Down