Skip to content

Commit 5b64d47

Browse files
Create build_binary.yml
1 parent 24f984e commit 5b64d47

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build_binary.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Check out code
11+
uses: actions/checkout@v2
12+
13+
- name: Install Rust
14+
uses: actions-rs/toolchain@v1
15+
with:
16+
profile: minimal
17+
toolchain: stable
18+
override: true
19+
20+
- name: Build
21+
run: cargo build --release
22+
23+
- name: Upload binary
24+
uses: actions/upload-artifact@v2
25+
with:
26+
name: github-action-gpt-language-check
27+
path: target/release/github-action-gpt-language-check

0 commit comments

Comments
 (0)