1
0
silverbullet/.github/workflows/release.yml

29 lines
633 B
YAML
Raw Normal View History

name: Build & Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.33
- name: Run build
run: deno task build
- name: Bundle
run: deno task bundle
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
files: |
website/CHANGELOG.md
dist/silverbullet.js