mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-12-27 03:41:48 +01:00
Update magisk.yml
This commit is contained in:
parent
676057f804
commit
69d95c35eb
10
.github/workflows/magisk.yml
vendored
10
.github/workflows/magisk.yml
vendored
@ -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 }}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user