Skip to content

Small refactor of WalletSpec as suggested #931

Small refactor of WalletSpec as suggested

Small refactor of WalletSpec as suggested #931

Workflow file for this run

# This workflow builds a static executable for the hydra-node and its tools
name: Static executable
on:
push:
branches:
- "**"
tags:
- "*.*.*"
jobs:
build-executables:
name: "Build static executables"
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: ❄ Prepare nix
uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: ❄ Cachix cache of nix derivations
uses: cachix/cachix-action@v12
with:
name: cardano-scaling
authToken: '${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
- name: ❄ Build static executables
run: |
mkdir -p bin/
nix build .#hydra-node-static && cp result/bin/* bin/
nix build .#hydra-tui-static && cp result/bin/* bin/
- name: 💾 Upload executables
uses: actions/upload-artifact@v3
with:
name: hydra-x86_64-unknown-linux-musl
path: |
./bin