Skip to content

ci: add result as artifact #6

ci: add result as artifact

ci: add result as artifact #6

Workflow file for this run

name: "nix builder"
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: trickypr
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- run: nix build
- run: docker load < result
- run: docker push ghcr.io/anucssa/rubric-merge:latest
- run: nix build .#bin
- uses: actions/upload-artifact@v4
path: ./results/bin/rubric-merge

Check failure on line 30 in .github/workflows/nix.yml

View workflow run for this annotation

GitHub Actions / nix builder

Invalid workflow file

The workflow is not valid. .github/workflows/nix.yml (Line: 30, Col: 7): Unexpected value 'path'