Skip to content

Commit 7592dd1

Browse files
committed
Workflow: create seperate build workflow
1 parent 6bc0bca commit 7592dd1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: .github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "artifact-build"
2+
on:
3+
push:
4+
pull_request:
5+
branches: [ "main" ]
6+
7+
env:
8+
cloudflare_project: noogle
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: cachix/install-nix-action@v23
18+
with:
19+
nix_path: nixpkgs=channel:nixos-unstable
20+
- uses: cachix/cachix-action@v12
21+
with:
22+
name: nix-community
23+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
24+
- run: nix build .#ui -L
25+
- name: Save output
26+
uses: actions/upload-artifact@v4
27+
with:
28+
path: ./result

0 commit comments

Comments
 (0)