From 17f80d767e72876bf302f13ee422b9cb2ef2a2e5 Mon Sep 17 00:00:00 2001 From: Patryk Michalik Date: Wed, 20 Oct 2021 17:57:26 +0200 Subject: [PATCH] CI: Properly handle spaces in filenames --- .github/workflows/build_debug_apk.yml | 2 +- .github/workflows/build_release_apk.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_debug_apk.yml b/.github/workflows/build_debug_apk.yml index e10a4d77f7..50ecff27c7 100644 --- a/.github/workflows/build_debug_apk.yml +++ b/.github/workflows/build_debug_apk.yml @@ -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: diff --git a/.github/workflows/build_release_apk.yml b/.github/workflows/build_release_apk.yml index 0cbc21d133..f8a2bc2c3e 100644 --- a/.github/workflows/build_release_apk.yml +++ b/.github/workflows/build_release_apk.yml @@ -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: