Skip to content

Commit 0d311c9

Browse files
committed
Refine gh action
1 parent f4087d4 commit 0d311c9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/push.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: use nix
1+
name: Build with nix
22

33
on: [push, pull_request, workflow_dispatch]
44
jobs:
@@ -29,9 +29,13 @@ jobs:
2929
purge-primary-key: never
3030

3131
- name: Check nix flake
32-
run: |
33-
nix flake check
32+
run: nix flake check
3433

3534
- name: Build backend with nix
36-
run: |
37-
nix build .#backend
35+
run: nix build .#backend
36+
37+
- name: Upload built nix package
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: backend
41+
path: ./result/**/*

0 commit comments

Comments
 (0)