chore: bump version to v0.3.2 and update Homebrew formula #23
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 | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: macos-14 # Apple Silicon (M1) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup dependencies | |
| run: bash scripts/setup.sh | |
| - name: Configure CMake | |
| run: | | |
| cmake -B build \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DCMAKE_OSX_ARCHITECTURES=arm64 | |
| - name: Build | |
| run: cmake --build build --config Release -j$(sysctl -n hw.ncpu) | |
| - name: Package | |
| id: package | |
| run: | | |
| bash scripts/package.sh | |
| TARBALL=$(ls dist/*.tar.gz) | |
| SHA256=$(shasum -a 256 "$TARBALL" | awk '{print $1}') | |
| echo "tarball=$TARBALL" >> "$GITHUB_OUTPUT" | |
| echo "sha256=$SHA256" >> "$GITHUB_OUTPUT" | |
| echo "SHA256: $SHA256" | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: dist/*.tar.gz | |
| generate_release_notes: true | |
| body: | | |
| ## Installation | |
| ```bash | |
| brew tap RunanywhereAI/rcli https://github.com/RunanywhereAI/RCLI.git | |
| brew install rcli | |
| rcli setup # download AI models (~1GB, one-time) | |
| ``` | |
| ### SHA256 | |
| ``` | |
| ${{ steps.package.outputs.sha256 }} | |
| ``` | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |