Add RF-DETR-seg model (#154) #13
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: Rust Release | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| rust_publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y build-essential ca-certificates clang curl pkg-config protobuf-compiler | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Cargo Registry | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cargo/registry | |
| key: ubuntu-latest-cargo-registry-${{ hashFiles('**/Cargo.toml') }} | |
| - name: Publish package rust | |
| run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} |