Skip to content

Commit 91e4b79

Browse files
committed
Use a fork to build macos
1 parent 24c066d commit 91e4b79

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/cardano-node.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# XXX: Temporary workflow to produce static ELF binaries for cardan-node 8.7.2
2-
# Remove again when upstream releases them again.
1+
# Produce distributable binaries for cardano-node 8.7.2
2+
#
3+
# XXX: Remove again when upstream releases them (again).
34
name: Cardano-node
45

56
on:
@@ -47,8 +48,9 @@ jobs:
4748
- name: 📥 Checkout cardano-node 8.7.2
4849
uses: actions/checkout@v4
4950
with:
50-
repository: IntersectMBO/cardano-node
51-
ref: 8.7.2
51+
# 8.7.2-fork which provides a macos flake output
52+
repository: ch1bo/cardano-node
53+
ref: 170817f5ba3f7838ffd9bd181bc30504906a6506
5254

5355
- name: ❄ Prepare nix
5456
uses: cachix/install-nix-action@v23
@@ -60,10 +62,8 @@ jobs:
6062
- name: ❄ Build executables
6163
run: |
6264
mkdir -p out
63-
nix build .#cardano-node
64-
cp result/bin/* out/
65-
nix build .#cardano-cli
66-
cp result/bin/* out/
65+
nix build .#hydraJobs.aarch64-darwin.native.cardano-node-macos
66+
tar -C out -xzvf result/cardano-node-*-macos.tar.gz cardano-node cardano-cli '*.dylib'
6767
6868
- name: 💾 Upload executables
6969
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)