ci: avoid attempting to get CSC_KEY_PASSWORD interactively in github actions
This commit is contained in:
parent
97cf072fc6
commit
86fbab2d2a
1 changed files with 3 additions and 2 deletions
|
@ -65,10 +65,11 @@ if [ -n "$RELEASE" ]; then
|
|||
fi
|
||||
|
||||
if [ "$OSTYPE" == "msys" ]; then
|
||||
if [ -z "$CIRCLE_TAG" ]; then
|
||||
if [ $CI != true ]; then
|
||||
read -s -p "Windows certificate password: " -r CSC_KEY_PASSWORD
|
||||
export 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.p12
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue