Skip to content

Commit a708256

Browse files
committed
ci: use rust toolchain for debian release
1 parent bfbf86a commit a708256

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77

88
jobs:
99
build:
10-
runs-on: rust-latest
10+
name: Debian Release
11+
runs-on: ubuntu-latest
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v4
14-
- run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard.
15+
- name: Cargo Install Run
16+
uses: dtolnay/rust-toolchain@stable
17+
- run: |
18+
# Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard.
1519
cargo install cargo-deb
1620
cargo deb
1721
- name: Release

0 commit comments

Comments
 (0)