From 7592dd1435e31f917399b46d9ddd707accd4a886 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 14 Feb 2025 17:01:32 +0700 Subject: [PATCH] Workflow: create seperate build workflow --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e050c8e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +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 + uses: actions/upload-artifact@v4 + with: + path: ./result