diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index ccfaba018..dc78cfea8 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -54,6 +54,13 @@ jobs: - name: Checking for test failures run: ./.github/scripts/check_build_result.sh build.output + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: build-${{ matrix.setup }}-jars + path: | + **/target/*.jar + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: @@ -100,6 +107,13 @@ jobs: - name: Build netty-tcnative-boringssl-static run: ./mvnw.cmd --file pom.xml -am -pl boringssl-static clean package + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: build-windows-jars + path: | + **/target/*.jar + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 2907cd840..08d19f699 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -51,6 +51,13 @@ jobs: - name: Checking for test failures run: ./.github/scripts/check_build_result.sh build.output + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: build-pr-${{ matrix.setup }}-jars + path: | + **/target/*.jar + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: @@ -96,6 +103,13 @@ jobs: - name: Build netty-tcnative-boringssl-static run: ./mvnw.cmd --file pom.xml -am -pl boringssl-static clean package + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: build-pr-windows-jars + path: | + **/target/*.jar + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: