diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml index 66fdac4b09697..3c2803f90c558 100644 --- a/.github/workflows/e2e-k8s.yml +++ b/.github/workflows/e2e-k8s.yml @@ -44,8 +44,8 @@ jobs: list-files: json build-docker-images: - needs: changes - if: ${{ needs.changes.outputs.e2e == 'true' }} +# needs: changes +# if: ${{ needs.changes.outputs.e2e == 'true' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -59,15 +59,6 @@ jobs: rm --recursive --force "$AGENT_TOOLSDIRECTORY" df --human-readable - - name: Restore ShenYu E2E Maven Repos - id: restore-e2e-maven-cache - uses: actions/cache/restore@v3 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-e2e-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-e2e-maven- - - name: Set up JDK 8 for Building ShenYu uses: actions/setup-java@v3 with: @@ -80,6 +71,15 @@ jobs: filters: '.github/filters.yml' list-files: json + - name: Restore ShenYu E2E Maven Repos + id: restore-e2e-maven-cache + uses: actions/cache/restore@v3 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-e2e-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-e2e-maven- + - name: Build with Maven if: steps.filter.outputs.changed == 'true' run: ./mvnw -B clean install -Prelease,docker -Dmaven.javadoc.skip=true -B -Drat.skip=true -Dmaven.test.skip=true -Djacoco.skip=true -DskipITs -DskipTests package -T1C