File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # adapted from https://github.com/taiki-e/cargo-hack/blob/main/.github/workflows/release.yml
2+
3+ name : Publish release
4+ on :
5+ push :
6+ tags :
7+ - ' *'
8+
9+ jobs :
10+ create-release :
11+ if : github.repository_owner == 'nextest-rs'
12+ runs-on : ubuntu-18.04
13+ steps :
14+ - uses : actions/checkout@v2
15+ with :
16+ persist-credentials : false
17+ - name : Install Rust
18+ uses : actions-rs/toolchain@v1
19+ with :
20+ toolchain : stable
21+ override : true
22+ - run : cargo publish
23+ env :
24+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
25+ - uses : taiki-e/create-gh-release-action@v1
26+ with :
27+ changelog : CHANGELOG.md
28+ title : datatest-stable $version
29+ branch : main
30+ prefix : datatest-stable
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments