diff options
| author | Menny Even Danan <menny@evendanan.net> | 2020-03-14 03:46:59 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2020-03-14 03:46:59 +0000 |
| commit | e2a2a43e0af5ca91975315d60c4188af34b66edb (patch) | |
| tree | fced9e9a8f2de0c539b9cd3148b10a1190d71338 /.github/actions | |
| parent | 5b4981698814a939705dc79cd6f7045ac829928c (diff) | |
| download | AnySoftKeyboard-e2a2a43e0af5ca91975315d60c4188af34b66edb.tar.gz AnySoftKeyboard-e2a2a43e0af5ca91975315d60c4188af34b66edb.tar.bz2 | |
publish json fix
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/deploy/action.yml | 6 | ||||
| -rwxr-xr-x | .github/actions/deploy/deploy.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/actions/deploy/action.yml b/.github/actions/deploy/action.yml index 186ea79b3..55dfbb221 100644 --- a/.github/actions/deploy/action.yml +++ b/.github/actions/deploy/action.yml @@ -25,8 +25,8 @@ inputs: default: "" description: "APK signing keystore default key password" required: true - publish_service_account_creds_json_file: - description: "path to the json certs file" + publish_service_account_creds_json: + description: "contents of the json certs file" default: "" required: true runs: @@ -46,7 +46,7 @@ runs: - ${{ inputs.keystore_url }} - ${{ inputs.keystore_password }} - ${{ inputs.keystore_key_password }} - - ${{ inputs.publish_service_account_creds_json_file }} + - ${{ inputs.publish_service_account_creds_json }} branding: icon: 'upload-cloud' diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh index ca1cab44a..f5872e6ba 100755 --- a/.github/actions/deploy/deploy.sh +++ b/.github/actions/deploy/deploy.sh @@ -12,7 +12,7 @@ export KEY_STORE_FILE_PASSWORD="${1}" shift export KEY_STORE_FILE_DEFAULT_ALIAS_PASSWORD="${1}" shift -PUBLISH_CERT_JSON_FILE="${1}" +echo "${1}" > /tmp/apk_upload_key.json shift function deployProcessFromEnvironmentName() { @@ -49,7 +49,7 @@ fi wget --tries=5 --waitretry=5 "${KEYSTORE_FILE_URL}" -q -O /tmp/anysoftkeyboard.keystore stat /tmp/anysoftkeyboard.keystore -stat "${PUBLISH_CERT_JSON_FILE}" +stat /tmp/apk_upload_key.json DEPLOY_TASKS=( "--stacktrace" "-PwithAutoVersioning" ":generateFdroidYamls" "-DdeployChannel=${DEPLOY_CHANNEL}" "-DdeployFraction=${FRACTION}" ) if [[ "${DEPLOYMENT_TASK}" == "deploy" ]]; then |
