Skip to content

whoops

whoops #17

Workflow file for this run

name: Compile and Publish
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Get current date
id: date
run: echo "date=$(date +'%Y_%m_%dT%H_%M_%S')" >> $GITHUB_OUTPUT
- name: Compile
id: compile
run: bun run compile.js
- name: Create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: ${{ steps.date.outputs.date }}
title: bunRPC ${{ steps.date.outputs.date }} release
files: dist/*