diff --git a/.github/workflows/NativeTests.yaml b/.github/workflows/NativeTests.yaml index ac9f37e575..b2c23532ed 100644 --- a/.github/workflows/NativeTests.yaml +++ b/.github/workflows/NativeTests.yaml @@ -54,10 +54,6 @@ jobs: uses: google-github-actions/setup-gcloud@v1 with: project_id: spring-cloud-gcp-ci-native - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: Mvn install # Need this when the directory/pom structure changes id: install run: | @@ -126,10 +122,6 @@ jobs: uses: google-github-actions/setup-gcloud@v1 with: project_id: spring-cloud-gcp-ci-native - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: Mvn install # Need this when the directory/pom structure changes id: install run: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cabc93fd51..3685cc372e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -54,11 +54,6 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/compatibilityCheck.yaml b/.github/workflows/compatibilityCheck.yaml index 7174d404c4..30e5591b72 100644 --- a/.github/workflows/compatibilityCheck.yaml +++ b/.github/workflows/compatibilityCheck.yaml @@ -103,12 +103,6 @@ jobs: run: | gcloud components install pubsub-emulator beta && \ gcloud components update - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - env: - REPO: ${{ inputs.mavenRepository }} - name: Retry install on failure id: install2 if: steps.install1.outcome == 'failure' diff --git a/.github/workflows/integrationTests.yaml b/.github/workflows/integrationTests.yaml index 1263625fab..c9f313c264 100644 --- a/.github/workflows/integrationTests.yaml +++ b/.github/workflows/integrationTests.yaml @@ -56,10 +56,6 @@ jobs: run: | gcloud components install pubsub-emulator beta && \ gcloud components update - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: Mvn install # Need this when the directory/pom structure changes id: install run: | @@ -140,10 +136,6 @@ jobs: project_id: spring-cloud-gcp-ci service_account_key: ${{ secrets.SPRING_CLOUD_GCP_CI_SA_KEY }} export_default_credentials: true - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: Mvn install # Need this when the directory/pom structure changes id: install run: | diff --git a/.github/workflows/linkageCheck.yaml b/.github/workflows/linkageCheck.yaml index 59bbfc0073..5216e94b9e 100644 --- a/.github/workflows/linkageCheck.yaml +++ b/.github/workflows/linkageCheck.yaml @@ -30,10 +30,6 @@ jobs: with: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: install # install before running Linkage Checker run: | diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 394b1585ae..dc51a26556 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -38,10 +38,6 @@ jobs: with: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - name: Mvn install w/ coverage # Need this when the directory/pom structure changes id: install run: | diff --git a/.github/workflows/unitTests.yaml b/.github/workflows/unitTests.yaml index 47d5f74fb2..f39ce7f3ff 100644 --- a/.github/workflows/unitTests.yaml +++ b/.github/workflows/unitTests.yaml @@ -37,11 +37,6 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - - name: Mvn install # Need this when the directory/pom structure changes id: install1 continue-on-error: true @@ -113,11 +108,6 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - - name: releaseCheck run: | ./mvnw \ diff --git a/.github/workflows/updateDocs.yaml b/.github/workflows/updateDocs.yaml index 6b7b02adb4..b746baf477 100644 --- a/.github/workflows/updateDocs.yaml +++ b/.github/workflows/updateDocs.yaml @@ -37,11 +37,6 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }} - - name: Maven go offline - id: mvn-offline - if: steps.mvn-cache.outputs.cache-hit != 'true' - run: ./mvnw dependency:go-offline -ntp -B -T 1.5C - - name: Mvn install # Need this when the version/directory/pom structure changes run: | ./mvnw \