diff --git a/.github/workflows/build_and_deploy_mac.yml b/.github/workflows/build_and_deploy_mac.yml index e31ace8be..6366cf6b3 100644 --- a/.github/workflows/build_and_deploy_mac.yml +++ b/.github/workflows/build_and_deploy_mac.yml @@ -40,7 +40,7 @@ jobs: run: npm install --verbose - name: Remove bad sonpy file (might make Spike2 format unusable on Mac - should exclude from selection) - run: rm -f /usr/local/miniconda/envs/nwb-guide/lib/python3.9/site-packages/sonpy/linux/sonpy.so + run: rm -f "$(conda info --base)/envs/envs/nwb-guide/lib/python3.9/site-packages/sonpy/linux/sonpy.so" - uses: apple-actions/import-codesign-certs@v2 with: