Skip to content

Commit

Permalink
Better binary uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Oct 25, 2020
1 parent 3f3eef7 commit 9a28863
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,29 @@ jobs:
uses: hecrj/setup-rust-action@v1
- name: Build debug
run: cargo build
- name: Upload debug build
- name: Upload debug build (Windows)
uses: actions/upload-artifact@v2
with:
path: ./target/debug/rust-script*
path: ./target/debug/rust-script
name: windows-binary
- name: Upload Windows debug build
if: runner.os == 'Windows'
uses: actions/upload-artifact@v2
with:
path: ./target/debug/rust-script.exe
name: windows-binary
- name: Upload macOS debug build
if: runner.os == 'macOS'
uses: actions/upload-artifact@v2
with:
path: ./target/debug/rust-script
name: mac-binary
- name: Upload Linux debug build
if: runner.os == 'Linux'
uses: actions/upload-artifact@v2
with:
path: ./target/debug/rust-script
name: linux-binary

security-audit:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9a28863

Please sign in to comment.