Skip to content

Build Executable

Build Executable #28

Workflow file for this run

name: Build Executable
on:
workflow_dispatch:
inputs:
tag:
description: Release git tag
type: string
required: true
push:
jobs:
build:
runs-on: macos-13
permissions:
contents: write
packages: write
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.11.0'
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: bun run build
- name: Publish release
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: ncipollo/release-action@v1
with:
artifacts: ./build/amdhelper
tag: ${{ inputs.tag }}
name: AMDHelper ${{ inputs.tag }}
allowUpdates: true
artifactErrorsFailBuild: false
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}