forked from GitHubMirrors/silverbullet-icalendar
Update .github/workflows/publish.yml
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
Some checks failed
Build SilverBullet Plug / build (push) Failing after 9s
This commit is contained in:
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user