Merge pull request #23 from kianmeng/fix-typos #83
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: sudo apt install libpango1.0-dev libatk1.0-dev libgtk-3-dev libpulse-dev; cargo install cargo-deb | |
- name: Build Executable | |
run: cargo build --verbose --release | |
- name: Upload Executable Artifact | |
uses: actions/upload-artifact@v2.2.2 | |
with: | |
name: myxer | |
path: target/release/myxer | |
- name: Build Debian | |
run: cargo deb --verbose | |
- name: Upload Debian Artifact | |
uses: actions/upload-artifact@v2.2.2 | |
with: | |
name: Myxer.deb | |
path: target/debian/Myxer* |