Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WriteNaN authored Apr 3, 2024
1 parent 701b1df commit 71aa95e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Auto Release

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- 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/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71aa95e

Please sign in to comment.