Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s

This commit is contained in:
2026-02-15 14:58:47 +00:00
parent 7ff19185e2
commit 31fddc1e26

View File

@@ -3,8 +3,6 @@ name: Build SilverBullet Plug
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
@@ -18,17 +16,14 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x # or "stable"
deno-version: v2.x
- name: Install SilverBullet CLI
run: |
# Added the --global flag to fix the permission error
deno install --global -f -A --name silverbullet jsr:@silverbulletmd/silverbullet
# Use the official JS entry point instead of the JSR library package
deno install --global -f -A --name silverbullet https://silverbullet.md/silverbullet.js
echo "$HOME/.deno/bin" >> $GITHUB_PATH
- name: Cache Deno dependencies
run: deno cache main.ts || true # Cache entry point if applicable
- name: Build Plug
run: deno task build