refactor(flake): create derivation manually #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: "Build plugin through Nix" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix flake check | |
- run: nix build . | |
- name: Upload artefact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: obsidian-klog | |
# TODO: how to rename to just main.js | |
path: | | |
./result/main.js | |
./manifest.json |