silverbullet/.github/workflows/server.yml

41 lines
844 B
YAML
Raw Normal View History

name: Server
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
2024-10-10 18:52:28 +08:00
uses: denoland/setup-deno@v2
with:
2024-10-10 18:52:28 +08:00
deno-version: v2.0
- name: Build bundles
run: |
deno task build
- name: Compile for all platforms
run: |
deno task server:dist:linux-x86_64
2024-06-28 18:22:01 +08:00
deno task server:dist:linux-aarch64
deno task server:dist:darwin-x86_64
deno task server:dist:darwin-aarch64
deno task server:dist:windows-x86_64
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
files: |
2024-10-10 18:52:28 +08:00
silverbullet-*.zip