diff --git a/.github/workflows/cardano-node.yaml b/.github/workflows/cardano-node.yaml index 2d1056722e2..e74816ea41b 100644 --- a/.github/workflows/cardano-node.yaml +++ b/.github/workflows/cardano-node.yaml @@ -1,5 +1,6 @@ -# XXX: Temporary workflow to produce static ELF binaries for cardan-node 8.7.2 -# Remove again when upstream releases them again. +# Produce distributable binaries for cardano-node 8.7.2 +# +# XXX: Remove again when upstream releases them (again). name: Cardano-node on: @@ -47,8 +48,9 @@ jobs: - name: 📥 Checkout cardano-node 8.7.2 uses: actions/checkout@v4 with: - repository: IntersectMBO/cardano-node - ref: 8.7.2 + # 8.7.2-fork which provides a macos flake output + repository: ch1bo/cardano-node + ref: 170817f5ba3f7838ffd9bd181bc30504906a6506 - name: ❄ Prepare nix uses: cachix/install-nix-action@v23 @@ -60,10 +62,8 @@ jobs: - name: ❄ Build executables run: | mkdir -p out - nix build .#cardano-node - cp result/bin/* out/ - nix build .#cardano-cli - cp result/bin/* out/ + nix build .#hydraJobs.aarch64-darwin.native.cardano-node-macos + tar -C out -xzvf result/cardano-node-*-macos.tar.gz cardano-node cardano-cli '*.dylib' - name: 💾 Upload executables uses: actions/upload-artifact@v4