Fix draft e2e spec so it fails for the right reason #935
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |