File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,29 @@ jobs:
62
62
uses : hecrj/setup-rust-action@v1
63
63
- name : Build debug
64
64
run : cargo build
65
- - name : Upload debug build
65
+ - name : Upload debug build (Windows)
66
66
uses : actions/upload-artifact@v2
67
67
with :
68
- path : ./target/debug/rust-script*
68
+ path : ./target/debug/rust-script
69
+ name : windows-binary
70
+ - name : Upload Windows debug build
71
+ if : runner.os == 'Windows'
72
+ uses : actions/upload-artifact@v2
73
+ with :
74
+ path : ./target/debug/rust-script.exe
75
+ name : windows-binary
76
+ - name : Upload macOS debug build
77
+ if : runner.os == 'macOS'
78
+ uses : actions/upload-artifact@v2
79
+ with :
80
+ path : ./target/debug/rust-script
81
+ name : mac-binary
82
+ - name : Upload Linux debug build
83
+ if : runner.os == 'Linux'
84
+ uses : actions/upload-artifact@v2
85
+ with :
86
+ path : ./target/debug/rust-script
87
+ name : linux-binary
69
88
70
89
security-audit :
71
90
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments