diff --git a/.github/workflows/test_ios_build.yml b/.github/workflows/test_ios_build.yml index 6f8370d1..160e0a99 100644 --- a/.github/workflows/test_ios_build.yml +++ b/.github/workflows/test_ios_build.yml @@ -44,10 +44,19 @@ jobs: packages: write steps: + + # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. + # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md + - name: Setup Gradle + uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 + with: + cache-disabled: true + - name: clean dir run: | ls -a - rm -rf ./* + rm -rf ${{ github.workspace }}/* + rm -rf ~/.gradle - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -58,13 +67,6 @@ jobs: java-version: '17' distribution: 'temurin' - # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. - # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - - name: Setup Gradle - uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 - with: - cache-disabled: true - - name: Set up Xcode if: ${{ matrix.iOS }} uses: maxim-lobanov/setup-xcode@v1