Skip to content

Commit b03be16

Browse files
authored
ci: Install Knope via action instead of building from source. (#666)
Co-authored-by: Dylan Anthony <[email protected]>
1 parent c184117 commit b03be16

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/release-dry-run.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515
token: ${{ secrets.PAT }}
16-
- uses: actions-rs/toolchain@v1
17-
with:
18-
profile: minimal
19-
toolchain: stable
20-
- uses: Swatinem/rust-cache@v1
2116
- name: Install Knope
22-
uses: actions-rs/cargo@v1
17+
uses: knope-dev/action@v1
2318
with:
24-
command: install
25-
args: knope
19+
version: 0.4.3
2620
- run: knope release --dry-run

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,10 @@ jobs:
1717
git_user_signingkey: true
1818
git_commit_gpgsign: true
1919
git_push_gpgsign: false
20-
- uses: actions-rs/toolchain@v1
21-
with:
22-
profile: minimal
23-
toolchain: stable
24-
- uses: Swatinem/rust-cache@v1
2520
- name: Install Knope
26-
uses: actions-rs/cargo@v1
21+
uses: knope-dev/action@v1
2722
with:
28-
command: install
29-
args: knope
23+
version: 0.4.3
3024
- name: Bump Version & Create GitHub Release
3125
run: knope release
3226
env:

0 commit comments

Comments
 (0)