mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
35 lines
676 B
YAML
35 lines
676 B
YAML
name: Bot
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build bot
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
token: ${{ secrets.GH_TOKEN }}
|
|
- uses: oven-sh/setup-bun@v2
|
|
- uses: arduino/setup-protoc@v3
|
|
with:
|
|
repo-token: ${{ secrets.GH_TOKEN }}
|
|
- run: bun run setup
|
|
|
|
- name: Build bot
|
|
run: bun run build:bot
|
|
|
|
- name: Archive build
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: bot
|
|
path: dist/bot
|