Skip to content

Fix directory issue finally #9

Fix directory issue finally

Fix directory issue finally #9

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build project
run: bun run build
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: "Development Build ${{ steps.vars.outputs.sha_short }}"
prerelease: false
automatic_release_tag: latest
files: |
dist/*