Skip to content

Don't build twice

Don't build twice #3

Workflow file for this run

name: "Build"
on:
push:
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'yukiisbored/zcauchemar' }}

Check failure on line 5 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 5, Col: 9): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'yukiisbored/zcauchemar'
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v12
with:
name: zcauchemar
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build
run: nix build