Skip to content

Commit eaf1bbc

Browse files
committed
Create GitHub release automatically
1 parent 05ea4ce commit eaf1bbc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v[0-9]+.*
7+
8+
env:
9+
RUSTFLAGS: -D warnings
10+
RUST_BACKTRACE: 1
11+
12+
jobs:
13+
create-release:
14+
if: github.repository_owner == 'smol-rs'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Install Rust
19+
run: rustup update stable
20+
- run: cargo package
21+
- uses: taiki-e/create-gh-release-action@v1
22+
with:
23+
changelog: CHANGELOG.md
24+
branch: master
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)