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:
6262 uses : hecrj/setup-rust-action@v1
6363 - name : Build debug
6464 run : cargo build
65- - name : Upload debug build
65+ - name : Upload debug build (Windows)
6666 uses : actions/upload-artifact@v2
6767 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
6988
7089 security-audit :
7190 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments