From d0cbe64a3b201386134534791f5c6ec9d7e8f282 Mon Sep 17 00:00:00 2001 From: godakid Date: Sun, 8 Sep 2024 09:32:36 +0800 Subject: [PATCH] chore: add action --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69de29..c71f848 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Builder +on: + push: + # Sequence of patterns matched against refs/tags + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + run: bun install --frozen-lockfile && bun run build:all + - name: Upload binaries to release + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: dist/** + overwrite: true + tags: true + tag: ${{ github.ref }}