Clean up release

This commit is contained in:
howardwu 2020-08-14 01:04:47 -07:00
parent 46b9f13885
commit 8c01bf3ffe

View File

@ -37,9 +37,9 @@ jobs:
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
- uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r ./leo_ubuntu.zip ./leo
- name: Zip
run: |
zip leo_ubuntu.zip leo
- name: Release
uses: softprops/action-gh-release@v1
@ -80,7 +80,7 @@ jobs:
- name: Zip
run: |
zip -vr leo_mac.zip leo
zip leo_macOS.zip leo
- name: Release
uses: softprops/action-gh-release@v1
@ -99,21 +99,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
# - name: Load snarkOS
# run: |
# mkdir C:\Users\runneradmin\.ssh
# echo $Env:SSH_KEY > C:\Users\runneradmin\.ssh\id_rsa
# ssh -oStrictHostKeyChecking=no git@github.com
# env:
# SSH_KEY: ${{ secrets.SNARKOS_DEPLOY_KEY_WINDOWS }}
- name: Install SSH key
uses: shimataro/ssh-key-action@v1
with:
private-key: ${{ secrets.SNARKOS_DEPLOY_KEY_WINDOWS }}
public-key: ${{ secrets.SNARKOS_DEPLOY_KEY_WINDOWS_PUBLIC }}
name: id_rsa # optional
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
name: id_rsa
- name: Install Rust
uses: actions-rs/toolchain@v1
@ -131,7 +122,7 @@ jobs:
- name: Zip
run: |
Compress-Archive leo.exe leo.zip
Compress-Archive leo.exe leo_windows.zip
- name: Release
uses: softprops/action-gh-release@v1