Skip to content

Commit

Permalink
fix build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyxot committed Oct 20, 2023
1 parent 3d3fcb8 commit 8bcb967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/CustomBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ jobs:
- name: Build WSA
run: |
bash -c './MagiskOnWSALocal/scripts/build.sh --release-type ${{ needs.get_arg.outputs.release_type }} --remove-amazon --arch ${{ needs.get_arg.outputs.arch }} --root-sol ${{ needs.get_arg.outputs.root_sol }} --magisk-ver ${{ needs.get_arg.outputs.magisk_ver }} --gapps-brand ${{ needs.get_arg.outputs.gapps_brand }} ${{ needs.get_arg.outputs.remove_amazon }}' || true
bash -c 'if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then rm -rf ./MagiskOnWSALocal/output/*;rm -rf ./MagiskOnWSALocal/download/*;./MagiskOnWSALocal/scripts/build.sh --release-type ${{ needs.get_arg.outputs.release_type }} --remove-amazon --arch ${{ needs.get_arg.outputs.arch }} --root-sol ${{ needs.get_arg.outputs.root_sol }} --magisk-ver ${{ needs.get_arg.outputs.magisk_ver }} --gapps-brand ${{ needs.get_arg.outputs.gapps_brand }} ${{ needs.get_arg.outputs.remove_amazon }};fi' || true
bash -c 'if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then rm -rf ./MagiskOnWSALocal/output/*;rm -rf ./MagiskOnWSALocal/download/*;./MagiskOnWSALocal/scripts/build.sh --release-type ${{ needs.get_arg.outputs.release_type }} --remove-amazon --arch ${{ needs.get_arg.outputs.arch }} --root-sol ${{ needs.get_arg.outputs.root_sol }} --magisk-ver ${{ needs.get_arg.outputs.magisk_ver }} --gapps-brand ${{ needs.get_arg.outputs.gapps_brand }} ${{ needs.get_arg.outputs.remove_amazon }};fi' || true
bash -c 'while [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];do rm -rf ./MagiskOnWSALocal/output/* && rm -rf ./MagiskOnWSALocal/download/* && ./MagiskOnWSALocal/scripts/build.sh --release-type ${{ needs.get_arg.outputs.release_type }} --remove-amazon --arch ${{ needs.get_arg.outputs.arch }} --root-sol ${{ needs.get_arg.outputs.root_sol }} --magisk-ver ${{ needs.get_arg.outputs.magisk_ver }} --gapps-brand ${{ needs.get_arg.outputs.gapps_brand }} ${{ needs.get_arg.outputs.remove_amazon }};done' || true
if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then exit 1;fi
cp DLLs/${{ needs.get_arg.outputs.arch }}/*.dll MagiskOnWSALocal/output/*/WsaClient/
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ jobs:
- name: Build WSA ${{ matrix.arch }} With ${{ matrix.root-sol }} ROOT and ${{ matrix.gapps-brand }} GAPPS
run: |
bash -c './MagiskOnWSALocal/scripts/build.sh --release-type WIF --remove-amazon --arch ${{ matrix.arch }} --root-sol ${{ matrix.root-sol }} --gapps-brand ${{ matrix.gapps-brand }}' || true
bash -c 'if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then rm -rf ./MagiskOnWSALocal/output/*;rm -rf ./MagiskOnWSALocal/download/*;./MagiskOnWSALocal/scripts/build.sh --release-type WIF --remove-amazon --arch ${{ matrix.arch }} --root-sol ${{ matrix.root-sol }} --gapps-brand ${{ matrix.gapps-brand }};fi' || true
bash -c 'if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then rm -rf ./MagiskOnWSALocal/output/*;rm -rf ./MagiskOnWSALocal/download/*;./MagiskOnWSALocal/scripts/build.sh --release-type WIF --remove-amazon --arch ${{ matrix.arch }} --root-sol ${{ matrix.root-sol }} --gapps-brand ${{ matrix.gapps-brand }};fi' || true
bash -c 'while [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];do rm -rf ./MagiskOnWSALocal/output/* && rm -rf ./MagiskOnWSALocal/download/* && ./MagiskOnWSALocal/scripts/build.sh --release-type WIF --remove-amazon --arch ${{ matrix.arch }} --root-sol ${{ matrix.root-sol }} --gapps-brand ${{ matrix.gapps-brand }};done' || true
if [[ $(ls ./MagiskOnWSALocal/output/) != *${{ needs.check.outputs.latest_version }}* ]];then exit 1;fi
cp DLLs/${{ matrix.arch }}/*.dll MagiskOnWSALocal/output/*/WsaClient/
Expand Down

0 comments on commit 8bcb967

Please sign in to comment.