Skip to content

Commit

Permalink
Publish crate on release
Browse files Browse the repository at this point in the history
  • Loading branch information
m1guelpf committed May 31, 2023
1 parent dff31f6 commit 1b7b76e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,19 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Build
run: cargo build --release
- name: Publish Crate
uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Install cargo-deb
run: cargo install cargo-deb
continue-on-error: true

- name: Build
run: cargo build --release

- name: Create deb package
run: cargo deb

Expand Down

0 comments on commit 1b7b76e

Please sign in to comment.