A local-first personal finance app
ci: avoid attempting to get CSC_KEY_PASSWORD interactively in github actions
Tom French86fbab2d2a2e
diff --git a/bin/package b/bin/packageindex 4e4dac5c80..43882100a3 100755--- a/bin/package+++ b/bin/package@@ -65,10 +65,11 @@ if [ -n "$RELEASE" ]; thenfiif [ "$OSTYPE" == "msys" ]; then- if [ -z "$CIRCLE_TAG" ]; then+ if [ $CI != true ]; thenread -s -p "Windows certificate password: " -r CSC_KEY_PASSWORDexport CSC_KEY_PASSWORD- else+ elif [ -n "$CIRCLE_TAG" ]; then+ # We only want to run this on CircleCI as Github doesn't have the CSC_KEY_PASSWORD secret set.certutil -f -p ${CSC_KEY_PASSWORD} -importPfx ~/windows-shift-reset-llc.p12fifi