From 31fddc1e264328a22035e690d64f82ffc0821750 Mon Sep 17 00:00:00 2001 From: sstent Date: Sun, 15 Feb 2026 14:58:47 +0000 Subject: [PATCH] Update .github/workflows/publish.yml --- .github/workflows/publish.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 75bd6b0..3810f57 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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