From 8109e20c88e6f2807b5fc39a59e36e78cf95da86 Mon Sep 17 00:00:00 2001 From: younglim Date: Tue, 14 Mar 2023 21:49:08 +0800 Subject: [PATCH] Refactor Mac copy scripts to parent before run --- .github/workflows/image.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d0b9b8a6..cddb6e68 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -51,11 +51,6 @@ jobs: with: path: purple-hats - - name: Install Purple dependencies for MacOS - run: | - ./scripts/install_purple_dependencies.command - working-directory: purple-hats - - name: Grant execute permissions for user run: chmod ugo+rwx ./scripts/*.command ./scripts/*.sh working-directory: purple-hats @@ -64,6 +59,10 @@ jobs: run: | cp ./purple-hats/scripts/{*.command,*.sh} ${{ github.workspace }} + - name: Install Purple dependencies for MacOS + run: | + ./install_purple_dependencies.command + - name: Zip entire Purple folder (Mac) run: | zip purple-hats-portable-mac.zip -y -r ./