Files
silverbullet-icalendar/.github/workflows/publish.yml
sstent 7ff19185e2
Some checks failed
Build SilverBullet Plug / build (push) Failing after 8s
Update .github/workflows/publish.yml
2026-02-15 14:57:29 +00:00

39 lines
940 B
YAML

name: Build SilverBullet Plug
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x # or "stable"
- name: Install SilverBullet CLI
run: |
# Added the --global flag to fix the permission error
deno install --global -f -A --name silverbullet jsr:@silverbulletmd/silverbullet
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
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: icalendar-plug
path: "*.plug.js"