Skip to content

Commit b909d58

Browse files
authored
chore: release
1 parent a708c73 commit b909d58

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
on:
3+
push:
4+
paths-ignore:
5+
- 'cross/**'
6+
branches:
7+
- master
8+
env:
9+
CI: true
10+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: stable
20+
- uses: actions-rs/[email protected]
21+
with:
22+
crate: semantic-rs
23+
version: latest
24+
use-tool-cache: true
25+
- uses: actions/cache@v2
26+
with:
27+
path: |
28+
~/.cargo/registry
29+
~/.cargo/git
30+
target
31+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
32+
- run: semantic-rs

0 commit comments

Comments
 (0)