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