From 5eb8ea987ac45ea86d43d3efee1249819ce78b14 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Thu, 2 Mar 2023 14:07:22 -0800 Subject: [PATCH] ci: Revert .app installer path (#256) Reverts runfinch/finch#225 Signed-off-by: Kevin Li --- .github/workflows/release-installer.yaml | 6 +++--- .github/workflows/upload-build-to-s3.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-installer.yaml b/.github/workflows/release-installer.yaml index 3d91273c4..da7146fbc 100644 --- a/.github/workflows/release-installer.yaml +++ b/.github/workflows/release-installer.yaml @@ -23,7 +23,7 @@ jobs: # 1. Ssh to the arm64 hosts. # 2. Run `cd ar/_work/finch/finch`. # 3. Run `INSTALLED=true make test-e2e` to complete the installer e2e tests. - # 4. Run `sudo bash /Applications/Finch.app/Contents/Resources/resources/uninstall.sh` to uninstall Finch. + # 4. Run `sudo /Applications/Finch/uninstall.sh` to uninstall Finch. # 5. Run `rm -rf Finch--aarch64.pkg` to delete the pkg. macos-arm64-test-installer: strategy: @@ -67,7 +67,7 @@ jobs: - name: Run e2e tests run: INSTALLED=true make test-e2e - name: Silently uninstall - run: echo 'y' | sudo bash /Applications/Finch.app/Contents/Resources/resources/uninstall.sh + run: echo 'y' | sudo bash /Applications/Finch/uninstall.sh - name: Delete installer run: rm -rf Finch-${GITHUB_REF_NAME}-aarch64.pkg @@ -115,6 +115,6 @@ jobs: - name: Run e2e tests run: INSTALLED=true make test-e2e - name: Silently uninstall - run: echo 'y' | sudo bash /Applications/Finch.app/Contents/Resources/resources/uninstall.sh + run: echo 'y' | sudo bash /Applications/Finch/uninstall.sh - name: Delete installer run: rm -rf Finch-${GITHUB_REF_NAME}-x86_64.pkg diff --git a/.github/workflows/upload-build-to-s3.yaml b/.github/workflows/upload-build-to-s3.yaml index 151d62949..c967b99fc 100644 --- a/.github/workflows/upload-build-to-s3.yaml +++ b/.github/workflows/upload-build-to-s3.yaml @@ -30,7 +30,7 @@ jobs: brew install go lz4 automake autoconf libtool make clean make download-licenses - make FINCH_OS_IMAGE_LOCATION_ROOT=/Applications/Finch.app/Contents/Resources/resources + make FINCH_OS_IMAGE_LOCATION_ROOT=/Applications/Finch tar -zcvf finch.arm64."$(date '+%s').tar.gz" _output - name: Upload macos arm64 build @@ -58,7 +58,7 @@ jobs: brew install go lz4 automake autoconf libtool make clean make download-licenses - make FINCH_OS_IMAGE_LOCATION_ROOT=/Applications/Finch.app/Contents/Resources/resources + make FINCH_OS_IMAGE_LOCATION_ROOT=/Applications/Finch tar -zcvf finch.amd64."$(date '+%s').tar.gz" _output - name: Upload macos amd64 build