From 7f2da31708268bb90ad26a8ef63f0fd6380fd6e5 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 17 May 2021 17:57:50 -0600 Subject: [PATCH] Install cargo-bundle if needed in script/bundle --- .github/workflows/ci.yml | 2 +- script/bundle | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc1cef936d..4fee8acf5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/script/bundle b/script/bundle index 197bc7821c..8c8475e01b 100755 --- a/script/bundle +++ b/script/bundle @@ -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