Skip to content

Commit

Permalink
Upload jars for inspection
Browse files Browse the repository at this point in the history
Motivation:

Sometimes it is useful to be able to download the generated jars. For example to inspect these.

Modifications:

Add step that uploads jars.

Result:

Be able to inspect jar after workflow run
  • Loading branch information
normanmaurer committed Mar 8, 2024
1 parent 3b86fbb commit b30210d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b30210d

Please sign in to comment.