Files
silverbullet-icalendar/.github/workflows/publish.yml
sstent 1ce9011d60
Some checks failed
Build SilverBullet Plug / build (push) Failing after 7s
Try building with --no-check and Deno v2.x
2026-02-15 17:50:52 -08:00

42 lines
988 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: Build Plug
run: |
deno task build -- --no-check
ls -lh *.plug.js
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add icalendar.plug.js
if git diff --quiet --staged; then
echo "No changes to commit"
else
git commit -m "Build and update icalendar.plug.js [skip ci]"
git push --force
fi
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: icalendar-plug
path: "*.plug.js"