mirror of
https://github.com/house-of-vanity/tmux-helper.git
synced 2026-02-04 09:47:59 +00:00
27 lines
582 B
YAML
27 lines
582 B
YAML
name: Rust
|
|
|
|
on: release
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
- name: Pre-build
|
|
run: apt install -y libdbus-1-dev pkg-config libdbus-1-3
|
|
- name: Build
|
|
run: cargo build --verbose --release
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
- name: Strip
|
|
run: strip target/release/tmux-helper
|
|
- name: Upload to release
|
|
uses: JasonEtco/upload-to-release@master
|
|
with:
|
|
args: target/release/tmux-helper application/x-pie-executable
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|