From 30c6dd293385a2e66c41205b319e2ff18d982bfb Mon Sep 17 00:00:00 2001 From: Peter Njeim Date: Mon, 24 Oct 2022 21:48:29 -0300 Subject: [PATCH] fix: build.yaml --- .github/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45a37c8..a23ad5f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -242,6 +242,7 @@ jobs: else magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")" fi + export magiskVer if [[ "${{ inputs.gapps_var }}" == "None" ]]; then gappsVar="" @@ -252,15 +253,17 @@ jobs: else gappsVar="_OpenGApps-${{ inputs.gapps_var }}" fi + export gappsVar if [[ "${{ inputs.remove_amazon }}" == "true" ]]; then amazon="" else amazon="_Amazon-AppStore" fi + export amazon echo "release_asset_name=WSA_${{ env.WSA_VER }}_${{ inputs.arch }}$magiskVer$gappsVar${amazon}" >> $GITHUB_ENV - find . -maxdepth 1 -type f -name 'WSA.*' -exec bash -c 'mv "$1" "WSA_${{ env.WSA_VER }}_${{ inputs.arch }}$magiskVer$gappsVar${amazon}${1##*WSA}"' _ {} \; + find . -maxdepth 1 -type f -name 'WSA.*' -exec bash -c 'mv "$1" "WSA_${{ env.WSA_VER }}_${{ inputs.arch }}${magiskVer}${gappsVar}${amazon}${1##*WSA}"' _ {} \; - name: Upload Asset uses: softprops/action-gh-release@v1 with: