Skip to content

Merge pull request #3 from petm5/dev #8

Merge pull request #3 from petm5/dev

Merge pull request #3 from petm5/dev #8

Workflow file for this run

name: "Run Actions"
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix flake check
build:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix build .#nixlet -o nixlet
- run: nix build .#nixletNoTpm -o nixlet-no-tpm
- uses: ncipollo/[email protected]
with:
artifacts: "nixlet,nixlet-no-tpm"