diff --git a/.github/workflows/build-publish-apps.yml b/.github/workflows/build-publish-apps.yml index a94098a722..294e9288aa 100644 --- a/.github/workflows/build-publish-apps.yml +++ b/.github/workflows/build-publish-apps.yml @@ -153,9 +153,11 @@ jobs: run: | for ARCH in arm64 x64; do TAURI_DIR=out/tauri/$VERSION/macos + TEMP_DIR=temp/$ARCH mkdir -p $TAURI_DIR - unzip out/*-$ARCH-mac.zip -d $TAURI_DIR - tar -czvf "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" -C $TAURI_DIR "Zoo Modeling App.app" + mkdir -p $TEMP_DIR + unzip out/*-$ARCH-mac.zip -d $TEMP_DIR + tar -czvf "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" -C $TEMP_DIR "Zoo Modeling App.app" yarn tauri signer sign "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" done ls -R out