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: | # Install the CLI directly from the main source entry point deno install --global -f -A --name silverbullet https://raw.githubusercontent.com/silverbulletmd/silverbullet/main/source/main.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"