Skip to content

ci: moved to right folder #1

ci: moved to right folder

ci: moved to right folder #1

Workflow file for this run

name: Build and Release
on:
push:
tags:
- "v*"
jobs:
build-and-release:
name: Build and Publish Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: "latest"
- name: Install dependencies
run: bun install
- name: Build the project
run: bun run build
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
body: "Automatically generated release."
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/
asset_name: dist.zip
asset_content_type: application/zip