Skip to content

feat: initial setup

feat: initial setup #4

Workflow file for this run

name: 🚀 Create new release on GitHub
on:
push:
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: |
bun install
bun run build
echo "dotfiles=dist/dotfiles" >> $GITHUB_ENV
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create v$($dotfiles --version) $dotfiles \
--generate-notes \
--latest \
--prerelease=${{ github.ref != 'refs/heads/main' }} \
--target=${{ github.ref }}