Skip to content
Prev Previous commit
Next Next commit
Merge branch 'master' into cl/refactor-config
  • Loading branch information
clearloop committed Jun 23, 2023
commit f93fa60859395617a28ffed3169d74a87b3d8050
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release

on:
push:
tags:
- "v*"
jobs:
publish:
name: Publish
# Specify OS
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
sudo apt-get install -y libsqlite3-dev libdbus-1-dev
fi
- name: Build
run: cargo build
run: cargo build --release --locked
- name: Run tests
run: cargo test
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**/*target
**/*.rs.bk
Cargo.lock
.DS_Store
.idea
.idea
.direnv/
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.