Skip to content

Commit

Permalink
Workflow: create seperate build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjobeki committed Feb 15, 2025
1 parent 6bc0bca commit be1dc5a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "artifact-build"
on:
push:
pull_request:
branches: [ "main" ]

env:
cloudflare_project: noogle

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#ui -L
- name: Save output
if: github.event_name != 'push'
uses: actions/upload-artifact@v4
with:
name: out
path: ./result

0 comments on commit be1dc5a

Please sign in to comment.