docs: update CLAUDE.md — parser files are now committed to git #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Daemon | |
| on: | |
| push: | |
| tags: | |
| - 'daemon-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 daemon binaries | |
| run: make release-daemon | |
| - name: Generate SHA256 checksums | |
| run: | | |
| cd bin | |
| sha256sum mxcli-daemon-* > 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-daemon-linux-amd64.tar.zst | |
| bin/mxcli-daemon-linux-arm64.tar.zst | |
| bin/mxcli-daemon-darwin-amd64.tar.zst | |
| bin/mxcli-daemon-darwin-arm64.tar.zst | |
| bin/mxcli-daemon-windows-amd64.exe.zip | |
| bin/mxcli-daemon-windows-arm64.exe.zip | |
| bin/SHA256SUMS |