Release Vibe #8
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 Vibe | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup install stable && rustup default stable | |
| - name: Install cargo-deb | |
| run: cargo install cargo-deb | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libpulse-dev libdbus-1-dev | |
| - name: Build Debian package | |
| run: cargo deb --manifest-path ./Cargo.toml | |
| - name: Upload to GitHub Releases | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: target/debian/*.deb | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| - run: sudo apt-get update && sudo apt-get install -y libpulse-dev libdbus-1-dev | |
| - uses: katyo/publish-crates@v2 | |
| with: | |
| registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |