mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
fix: build.yaml
This commit is contained in:
parent
d11be434ae
commit
30c6dd2933
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@ -242,6 +242,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")"
|
magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")"
|
||||||
fi
|
fi
|
||||||
|
export magiskVer
|
||||||
|
|
||||||
if [[ "${{ inputs.gapps_var }}" == "None" ]]; then
|
if [[ "${{ inputs.gapps_var }}" == "None" ]]; then
|
||||||
gappsVar=""
|
gappsVar=""
|
||||||
@ -252,15 +253,17 @@ jobs:
|
|||||||
else
|
else
|
||||||
gappsVar="_OpenGApps-${{ inputs.gapps_var }}"
|
gappsVar="_OpenGApps-${{ inputs.gapps_var }}"
|
||||||
fi
|
fi
|
||||||
|
export gappsVar
|
||||||
|
|
||||||
if [[ "${{ inputs.remove_amazon }}" == "true" ]]; then
|
if [[ "${{ inputs.remove_amazon }}" == "true" ]]; then
|
||||||
amazon=""
|
amazon=""
|
||||||
else
|
else
|
||||||
amazon="_Amazon-AppStore"
|
amazon="_Amazon-AppStore"
|
||||||
fi
|
fi
|
||||||
|
export amazon
|
||||||
|
|
||||||
echo "release_asset_name=WSA_${{ env.WSA_VER }}_${{ inputs.arch }}$magiskVer$gappsVar${amazon}" >> $GITHUB_ENV
|
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
|
- name: Upload Asset
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user