Skip to content

Commit 1c8951b

Browse files
committed
update github action
1 parent 4657f81 commit 1c8951b

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/relay.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push]
1+
on:
2+
push:
3+
branches:
4+
- master
25

36
name: build
47

@@ -16,14 +19,14 @@ jobs:
1619
override: true
1720
components: rustfmt, clippy
1821

19-
- name: Run cargo check
20-
uses: actions-rs/cargo@v1
21-
with:
22-
command: check
23-
2422
- name: Run cargo build
2523
uses: actions-rs/cargo@v1
2624
with:
2725
command: build
2826
args: --release
27+
28+
- uses: actions/upload-artifact@v2
29+
with:
30+
name: realm
31+
path: target/release/realm
2932

0 commit comments

Comments
 (0)