Update release ci

This commit is contained in:
howardwu 2020-08-13 02:24:57 -07:00
parent adf6827a9c
commit 0c676fb393

View File

@ -33,13 +33,13 @@ jobs:
- name: Build Leo - name: Build Leo
run: | run: |
cargo build --all --release && strip target/release/leo cargo build --all --release && strip target/release/leo && mv target/release/leo .
env: env:
CARGO_NET_GIT_FETCH_WITH_CLI: true CARGO_NET_GIT_FETCH_WITH_CLI: true
- uses: montudor/action-zip@v0.1.0 - uses: montudor/action-zip@v0.1.0
with: with:
args: zip -qq -r ./leo_ubuntu.zip target/release/leo args: zip -qq -r ./leo_ubuntu.zip ./leo
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@ -74,13 +74,13 @@ jobs:
- name: Build Leo - name: Build Leo
run: | run: |
cargo build --all --release && strip target/release/leo cargo build --all --release && strip target/release/leo && mv target/release/leo .
env: env:
CARGO_NET_GIT_FETCH_WITH_CLI: true CARGO_NET_GIT_FETCH_WITH_CLI: true
- uses: montudor/action-zip@v0.1.0 - uses: montudor/action-zip@v0.1.0
with: with:
args: zip -qq -r ./leo_macOS.zip target/release/leo args: zip -qq -r ./leo_macOS.zip ./leo
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1