Files
plainleaf/.github/workflows/server.yml
T
2025-06-04 09:17:20 +02:00

44 lines
912 B
YAML

name: Server
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.3.5
- name: Build bundles
run: |
deno task build
- name: Compile for all platforms
run: |
deno task server:dist:linux-x86_64
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: |
silverbullet-*.zip