Files
silverbullet-icalendar/.github/workflows/publish.yml
sstent 5ba0445eeb
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
Update .github/workflows/publish.yml
2026-02-15 15:00:21 +00:00

34 lines
828 B
YAML

name: Build SilverBullet Plug
on:
push:
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
- name: Install SilverBullet CLI
run: |
# Use the raw GitHub source for the plug compiler
deno install --global -f -A --name silverbullet https://raw.githubusercontent.com/silverbulletmd/silverbullet/main/source/plug_compiler.ts
echo "$HOME/.deno/bin" >> $GITHUB_PATH
- name: Build Plug
run: deno task build
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: icalendar-plug
path: "*.plug.js"