Update magisk.yml

This commit is contained in:
Peter Njeim 2022-07-08 18:55:46 +03:00 committed by GitHub
parent 69d95c35eb
commit 94f002ce72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,19 +660,19 @@ jobs:
if [[ "$root" = "none" ]]; then if [[ "$root" = "none" ]]; then
rootVer="" rootVer=""
elif [[ "$root" = "" ]]; then elif [[ "$root" = "" ]]; then
rootVer="_Magisk $(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")" rootVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
else else
rootVer="_Magisk $(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")" rootVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
fi fi
if [[ "$variant" = "none" || "$variant" = "" ]]; then if [[ "$variant" = "none" || "$variant" = "" ]]; then
gappsVer="" gappsVer=""
else else
gappsVer="_${variant} GApps" gappsVer="_${variant}-GApps"
fi fi
if [[ "$amazon" == "remove" ]]; then if [[ "$amazon" == "remove" ]]; then
amazonVer="" amazonVer=""
else else
amazonVer="_Amazon App Store" amazonVer="_Amazon-App-Store"
fi fi
echo "release_asset_name=WSA_${{ env.WSA_VER }}$rootVer$gappsVer$amazonVer_${{ matrix.arch }}" >> $GITHUB_ENV echo "release_asset_name=WSA_${{ env.WSA_VER }}$rootVer$gappsVer$amazonVer_${{ matrix.arch }}" >> $GITHUB_ENV
- name: Compress - name: Compress