Update default models to claude-opus-4-6, remove unused ToolAccess #15
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*' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - target: aarch64-apple-darwin | |
| os: macos-14 | |
| name: codey-darwin-arm64 | |
| - target: x86_64-unknown-linux-musl | |
| os: ubuntu-latest | |
| name: codey-linux-x86_64 | |
| - target: aarch64-unknown-linux-musl | |
| os: ubuntu-24.04-arm | |
| name: codey-linux-arm64 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Install musl-tools (Linux) | |
| if: contains(matrix.target, 'linux-musl') | |
| run: sudo apt-get update && sudo apt-get install -y musl-tools | |
| - name: Build release | |
| run: make release | |
| env: | |
| CARGO_BUILD_TARGET: ${{ matrix.target }} | |
| EXTRA_FEATURES: ${{ contains(matrix.target, 'linux-musl') && 'vendored-openssl' || '' }} | |
| - name: Ad-hoc sign (macOS) | |
| if: contains(matrix.os, 'macos') | |
| run: codesign --force --sign - target/${{ matrix.target }}/release/codey | |
| - name: Package | |
| run: | | |
| mkdir -p dist | |
| cp target/${{ matrix.target }}/release/codey dist/${{ matrix.name }} | |
| cd dist && tar -czvf ${{ matrix.name }}.tar.gz ${{ matrix.name }} | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.name }} | |
| path: dist/${{ matrix.name }}.tar.gz | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Download artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: artifacts | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: artifacts/**/*.tar.gz | |
| generate_release_notes: true |