bump to 0.3.2 #19
Workflow file for this run
This file contains 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*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install system dependencies | |
run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev pkg-config | |
- name: Compile dependencies | |
run: cargo build --release --locked | |
- name: Build release artifacts | |
run: cargo build --release | |
- name: Add postfix to binary | |
run: | | |
VERSION=$(git describe --tags --abbrev=0) | |
mv target/release/fum target/release/fum-x86-64_${VERSION} | |
- name: Create GitHub Release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: target/release/fum-x86-64_${{ github.ref_name }} |