Skip to content

Release v0.0.1

Release v0.0.1 #18

Workflow file for this run

name: Auto Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Extract Tag and Commit Message Body
id: extract_info
run: |
TAG=$(git tag --points-at HEAD)
BODY=$(git show -s --format=%b)
echo "::set-output name=tag::$TAG"
echo "::set-output name=body::$BODY"
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 'latest'
- name: Install dependencies
run: bun install
- name: Generate Release Build
run: bun export
- name: Push release to GitHub
uses: "softprops/action-gh-release@v1"
with:
files: dist/*
tag_name: ${{ steps.extract_info.outputs.tag }}
body: ${{ steps.extract_info.outputs.body }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}