Skip to content

πŸš€ Release

πŸš€ Release #14

Workflow file for this run

name: πŸš€ Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: πŸ’» Checkout current pull-request revision code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.DEVOPS_USER_TOKEN }}
- name: 🟒 Configure Bun on runner
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: πŸ”΅ Install Task
uses: arduino/setup-task@v2
- name: πŸ’Ό Configure Git user
run: |
git config user.name "gbh-devops-bot"
git config user.email "[email protected]"
- name: πŸ“¦ Install package dependencies using lockfile
run: bun install --frozen-lockfile
- name: πŸ”¨ Run build
run: bun run build
- name: πŸ”¨ Compile binary for supported platforms
run: |
task compile
task compress
- name: πŸš€ Release a new version
run: bun release-it --ci
env:
GITHUB_TOKEN: ${{ secrets.DEVOPS_USER_TOKEN }}