Skip to content

feat: implement uninstall command and related utilities #13

feat: implement uninstall command and related utilities

feat: implement uninstall command and related utilities #13

Workflow file for this run

name: Release Build
on:
push:
tags:
- "v*"
jobs:
build:
name: Build Binary
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
include:
- os: macos-latest
platform: macos
steps:
- uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: "0.14.0"
- name: Setup MoonBit
run: |
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
echo "$HOME/.moon/bin" >> $GITHUB_PATH
- name: Build NTM Binary
run: |
cd ntm
moon update
moon build --target native
cd ..
- name: Prepare artifacts
run: |
mkdir -p dist
cp zig-out/bin/ntm dist/ntm
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ntm-${{ matrix.platform }}
path: dist/*
# release:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Download artifacts
# uses: actions/download-artifact@v4
# - name: Create Release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# ntm-macos/*