From ab798d75bb5e5a5f9b825acd482e6ab877d93b91 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 13 Jul 2023 23:34:28 +0530 Subject: fix(ci): remove build-tools workaround No longer necessary since AGP now uses build-tools 34.0.0 --- .github/workflows/codeql_analysis.yml | 15 ----- .github/workflows/deploy_github_releases.yml | 15 ----- .github/workflows/deploy_library_releases.yml | 15 ----- .github/workflows/deploy_snapshot.yml | 15 ----- .github/workflows/draft_new_release.yml | 15 ----- .github/workflows/pull_request.yml | 90 -------------------------- .github/workflows/shadow_job.yml | 15 ----- .github/workflows/sync_crowdin.yml | 15 ----- .github/workflows/update_publicsuffix_data.yml | 15 ----- 9 files changed, 210 deletions(-) diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml index 10979644..14cab033 100644 --- a/.github/workflows/codeql_analysis.yml +++ b/.github/workflows/codeql_analysis.yml @@ -24,21 +24,6 @@ jobs: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/deploy_github_releases.yml b/.github/workflows/deploy_github_releases.yml index c5d23e8f..9b375977 100644 --- a/.github/workflows/deploy_github_releases.yml +++ b/.github/workflows/deploy_github_releases.yml @@ -12,21 +12,6 @@ jobs: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml index 2751d659..a4437f07 100644 --- a/.github/workflows/deploy_library_releases.yml +++ b/.github/workflows/deploy_library_releases.yml @@ -11,21 +11,6 @@ jobs: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml index 12c9bdd2..b9b703d5 100644 --- a/.github/workflows/deploy_snapshot.yml +++ b/.github/workflows/deploy_snapshot.yml @@ -23,21 +23,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index cc7fa453..b666df0a 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -36,21 +36,6 @@ jobs: with: ref: ${{ env.CHECKOUT_REF }} - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8d30532e..956920ab 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,21 +41,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: @@ -87,21 +72,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: @@ -140,21 +110,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: @@ -186,21 +141,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: @@ -232,21 +172,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: @@ -278,21 +203,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml index fbe179a5..d44bbfd8 100644 --- a/.github/workflows/shadow_job.yml +++ b/.github/workflows/shadow_job.yml @@ -38,21 +38,6 @@ jobs: with: fetch-depth: 0 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml index 86867260..759ed33d 100644 --- a/.github/workflows/sync_crowdin.yml +++ b/.github/workflows/sync_crowdin.yml @@ -11,21 +11,6 @@ jobs: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml index 6419da97..58bfd0dd 100644 --- a/.github/workflows/update_publicsuffix_data.yml +++ b/.github/workflows/update_publicsuffix_data.yml @@ -11,21 +11,6 @@ jobs: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Accept all SDK licenses - shell: bash - run: printf 'y\ny\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - - - name: Get build-tools directory - id: build-tools-path - shell: bash - run: echo "dir=${ANDROID_HOME}/build-tools/34.0.0" >> "${GITHUB_OUTPUT}" - - - name: Cache build-tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - with: - path: ${{ steps.build-tools-path.outputs.dir }} - key: ${{ runner.os }}-34.0.0 - - name: Set up JDK uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 with: -- cgit v1.2.3