Skip to content

feat: add a way to specify the points in the challenge format ✨ #17

feat: add a way to specify the points in the challenge format ✨

feat: add a way to specify the points in the challenge format ✨ #17

Workflow file for this run

name: Binary Build
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Resolve Version
run: |
echo version=$(git tag | sort -V | tail -1) >> $GITHUB_ENV
- name: Installing Dependencies
run: bun i
- name: Build Binary
run: bun build --target=bun src/bot.ts --compile --outfile ./build/challenge-bot
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: ./build/challenge-bot
tag_name: ${{ env.version }}