Skip to content

Release mxcli-local

Release mxcli-local #5

Workflow file for this run

name: Release mxcli-local
on:
push:
tags:
- 'local-v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version: '1.26'
- uses: oven-sh/setup-bun@v2
- name: Cache ANTLR4 JAR
uses: actions/cache@v5
with:
path: ~/.m2/repository/org/antlr/antlr4
key: antlr4-4.13.2
- name: Install ANTLR4
run: pip install 'antlr4-tools==0.2.2'
- name: Generate parser
run: make grammar
env:
ANTLR4_TOOLS_ANTLR_VERSION: '4.13.2'
- name: Install zstd
run: sudo apt-get install -y zstd
- name: Build mxcli-local binaries
run: make release-local-bins
- name: Generate SHA256 checksums
run: |
cd bin
sha256sum mxcli-local-* > SHA256SUMS
cat SHA256SUMS
- name: Create GitHub Release
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
prerelease: true # keeps /releases/latest pointing to launcher v* releases
files: |
bin/mxcli-local-linux-amd64.tar.zst
bin/mxcli-local-linux-arm64.tar.zst
bin/mxcli-local-darwin-amd64.tar.zst
bin/mxcli-local-darwin-arm64.tar.zst
bin/mxcli-local-windows-amd64.exe.zip
bin/mxcli-local-windows-arm64.exe.zip
bin/SHA256SUMS