mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-29 22:54:14 +01:00
Update build.yaml
This commit is contained in:
parent
6c83f36010
commit
47ef40596f
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -121,7 +121,7 @@ jobs:
|
|||||||
if [[ "${{ inputs.magisk_ver }}" != "Custom" ]]; then
|
if [[ "${{ inputs.magisk_ver }}" != "Custom" ]]; then
|
||||||
MAGISK_VER="${opts[MAGISK_VER,${{ inputs.magisk_ver }}]}"
|
MAGISK_VER="${opts[MAGISK_VER,${{ inputs.magisk_ver }}]}"
|
||||||
else
|
else
|
||||||
echo "${{ inputs.magisk_url }}\n out=magisk-debug.zip" > "$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
echo -e "${{ inputs.magisk_url }}\n out=magisk-debug.zip" > "$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
||||||
|
|
||||||
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_custom_magisk_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_custom_magisk_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
||||||
echo "Magisk download error!"
|
echo "Magisk download error!"
|
||||||
@ -190,7 +190,7 @@ jobs:
|
|||||||
echo "opengapps_var=${GAPPS_VAR^}" >> $GITHUB_ENV
|
echo "opengapps_var=${GAPPS_VAR^}" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
GAPPS_VAR="pico"
|
GAPPS_VAR="pico"
|
||||||
echo "${{ inputs.gapps_url }}\n out=OpenGApps-"$ARCH"-"$GAPPS_VAR".zip" > -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
echo -e "${{ inputs.gapps_url }}\n out=OpenGApps-"$ARCH"-"$GAPPS_VAR".zip" > -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
||||||
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_gapps_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_gapps_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
||||||
echo "OpenGApps download error!"
|
echo "OpenGApps download error!"
|
||||||
exit 1
|
exit 1
|
||||||
@ -203,7 +203,7 @@ jobs:
|
|||||||
GAPPS_BRAND="MindTheGapps"
|
GAPPS_BRAND="MindTheGapps"
|
||||||
if [[ "${{ inputs.gapps_var }}" == "Custom (MindTheGapps)" ]]; then
|
if [[ "${{ inputs.gapps_var }}" == "Custom (MindTheGapps)" ]]; then
|
||||||
if [[ -n "${${{ inputs.gapps_url }}+x}" ]]; then
|
if [[ -n "${${{ inputs.gapps_url }}+x}" ]]; then
|
||||||
echo "${{ inputs.gapps_url }}\n out=MindTheGapps-"$ARCH".zip" > -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
echo -e "${{ inputs.gapps_url }}\n out=MindTheGapps-"$ARCH".zip" > -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"
|
||||||
|
|
||||||
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_gapps_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_gapps_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --check-integrity --continue --allow-overwrite --conditional-get -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
||||||
echo "MindTheGapps download error!"
|
echo "MindTheGapps download error!"
|
||||||
|
Loading…
Reference in New Issue
Block a user