diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f915e7555..a30ef1e6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,8 +38,9 @@ jobs: ) steps: - uses: actions/checkout@v4 - with: - ref: ${{ github.event.workflow_run.head_sha }} + - name: Update Submodules + run: | + git submodule update --init --recursive --remote - name: Cache uses: actions/cache@v4 with: @@ -48,7 +49,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven-${{ github.workflow }} - name: Build with Maven - run: mvn clean test -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 + run: mvn clean test -fae -T 2 -B -V -Drat.skip -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 - name: Archive build artifacts uses: actions/upload-artifact@v4 if: always() diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f28356d3c..9e7b9300b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -46,7 +46,10 @@ jobs: - uses: actions/checkout@v4 with: path: plugin - submodules: 'recursive' + - name: Update Submodules + working-directory: plugin + run: | + git submodule update --init --recursive --remote - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # Pinned version 2.11.1 if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'