Skip to content

Commit 5818e6a

Browse files
committed
ci: Print dry run of release on pushes
1 parent ea9b350 commit 5818e6a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release Dry Run
2+
3+
on: push
4+
# push:
5+
# branches:
6+
# - main
7+
8+
jobs:
9+
create-release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
token: ${{ secrets.PAT }}
16+
- uses: actions-rs/toolchain@v1
17+
with:
18+
profile: minimal
19+
toolchain: stable
20+
- uses: Swatinem/rust-cache@v1
21+
- name: Install Knope
22+
uses: actions-rs/cargo@v1
23+
with:
24+
command: install
25+
args: knope
26+
- run: knope release --dry-run

0 commit comments

Comments
 (0)