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