Change to mac

This commit is contained in:
howardwu 2020-08-15 00:46:01 -07:00
parent b55f4bacff
commit fb666a1968

View File

@ -88,16 +88,16 @@ jobs:
- name: Zip
run: |
mkdir leo_${{ steps.get_version.outputs.version }}_macos
mv target/release/leo leo_${{ steps.get_version.outputs.version }}_macos
zip -r leo_${{ steps.get_version.outputs.version }}_macos.zip leo_${{ steps.get_version.outputs.version }}_macos
mkdir leo_${{ steps.get_version.outputs.version }}_mac
mv target/release/leo leo_${{ steps.get_version.outputs.version }}_mac
zip -r leo_${{ steps.get_version.outputs.version }}_mac.zip leo_${{ steps.get_version.outputs.version }}_mac
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
leo_${{ steps.get_version.outputs.version }}_macos.zip
leo_${{ steps.get_version.outputs.version }}_mac.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}