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