CI: Properly handle spaces in filenames

This commit is contained in:
Patryk Michalik
2021-10-20 17:57:26 +02:00
parent cec9688021
commit 17f80d767e
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ jobs:
oldArtifactPath="${{ steps.sign-debug-apk.outputs.signedReleaseFile }}"
newArtifactPath="${oldArtifactPath%'-signed.apk'}.apk"
echo "ARTIFACT_PATH=$newArtifactPath" >> $GITHUB_ENV
mv $oldArtifactPath $newArtifactPath
mv "$oldArtifactPath" "$newArtifactPath"
- name: Upload artifact
uses: actions/upload-artifact@v2
with:

View File

@@ -46,7 +46,7 @@ jobs:
oldArtifactPath="${{ steps.sign-debug-apk.outputs.signedReleaseFile }}"
newArtifactPath="${oldArtifactPath%'-signed.apk'}.apk"
echo "ARTIFACT_PATH=$newArtifactPath" >> $GITHUB_ENV
mv $oldArtifactPath $newArtifactPath
mv "$oldArtifactPath" "$newArtifactPath"
- name: Upload artifact
uses: actions/upload-artifact@v2
with: