Update magisk.yml

This commit is contained in:
Peter Njeim 2022-07-08 17:51:12 +03:00 committed by GitHub
parent 676057f804
commit 69d95c35eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,21 +660,21 @@ 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
run: | run: |
zip -qrv "${{ env.release_asset_name }}.zip" ./${{ matrix.arch }}/* zip -qrv "${{ env.release_asset_name }}.zip" ./${{ matrix.arch }}/*