GoonCord/.github/workflows/release.yml
kmmiio99o c7b56f7f2a Refactor plugin init flow and update release workflow
- Replace auto-release workflow with semantic-release workflow -
Refactor plugin initialization to register core plugins before starting
- Improve lazy proxy implementation for reliability - Make plugin author
names individually clickable in UI - Bump version to 1.1.2
2025-10-13 18:24:51 +02:00

37 lines
821 B
YAML

name: Release
on:
push:
branches: [main, dev]
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore Bun cache
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Release
run: bunx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_BRANCH: ${{ github.ref_name }}