Install cargo-bundle if needed in script/bundle

This commit is contained in:
Nathan Sobo 2021-05-17 17:57:50 -06:00
parent 08c7a499e5
commit 7f2da31708
2 changed files with 4 additions and 1 deletions

View file

@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v2
- name: Create app bundle
run: bash ./script/bundle
run: script/bundle
- name: Upload app bundle to workflow run
uses: actions/upload-artifact@v2

View file

@ -2,6 +2,9 @@
set -e
# Install cargo-bundle 0.5.0 if it's not already installed
cargo install cargo-bundle --version 0.5.0
# Build the app bundle for x86_64
pushd zed > /dev/null
cargo bundle --release --target x86_64-apple-darwin