Skip to content

Commit via deposit

Commit via deposit #51

Workflow file for this run

name: "CI"
on:
push:
branches:
- master
- release
pull_request:
jobs:
nix-build:
name: "nix build"
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: ❄ Prepare nix
uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: ❄ Cachix cache of nix derivations
uses: cachix/cachix-action@v15
with:
name: cardano-scaling
authToken: '${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
- name: ❄ Build specification
run: |
nix build
- name: 💾 Upload specification
uses: actions/upload-artifact@v4
with:
name: hydra-spec
path: |
./result/*.pdf
# - name: 🔎 Find Comment
# uses: peter-evans/find-comment@v3
# id: find-comment
# with:
# issue-number: ${{ github.event.pull_request.number }}
# comment-author: 'github-actions[bot]'
# body-includes: Rendered
# - name: ✏ Create or update comment
# uses: peter-evans/create-or-update-comment@v4
# with:
# comment-id: ${{ steps.find-comment.outputs.comment-id }}
# edit-mode: replace
# issue-number: ${{ github.event.pull_request.number }}
# body: |
# Rendered PDF: ${{ steps. }}