diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5162776..8301b3d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,11 +85,15 @@ jobs: #Remove all pre-installed android sdk build tool versions except 28.0.3 - name: Remove unwanted android sdk build tool versions - run: Get-ChildItem -Path "C:/Android/android-sdk/build-tools" -Exclude 28.0.3,29.0.2 | Remove-Item -Recurse -Force + run: | + Get-ChildItem -Path "C:/Android/android-sdk/build-tools" -Exclude 28.0.3,29.0.2 | Remove-Item -Recurse -Force + Get-ChildItem -Path "C:/Android/android-sdk/build-tools" #Remove all pre-installed android sdk platform versions except 29 - name: Remove unwanted android sdk platform versions - run: Get-ChildItem -Path "C:/Android/android-sdk/platforms" -Exclude android-29 | Remove-Item -Recurse -Force + run: | + Get-ChildItem -Path "C:/Android/android-sdk/platforms" -Exclude android-29 | Remove-Item -Recurse -Force + Get-ChildItem -Path "C:/Android/android-sdk/platforms" #Run build script - name: Run build batch script