We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded4a1e commit 7bebd09Copy full SHA for 7bebd09
1 file changed
.github/actions/build-apk/action.yml
@@ -64,15 +64,14 @@ runs:
64
echo ${{ inputs.keyStore }} | base64 --decode > ${{ github.workspace }}/key.jks
65
fi
66
67
- - name: Set up kez for private packages
+ - name: Set up credentials for private packages
68
shell: bash
69
run: |
70
- if [ -n "${{ inputs.username }}" ]; then
71
- {
72
- echo gpr.user='${{ inputs.username }}'
73
- echo gpr.key='${{ inputs.token }}'
74
- } >> gradle.properties
75
- fi
+ [ -f gradle.properties ] && [ "$(tail -c1 gradle.properties)" != "" ] && echo >> gradle.properties
+ {
+ echo "gpr.user='${{ inputs.username }}'"
+ echo "gpr.key='${{ inputs.token }}'"
+ } >> gradle.properties
76
77
- name: Set up JDK
78
uses: actions/setup-java@v4
0 commit comments