mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
include jar in job artifacts
This commit is contained in:
parent
9a9efac2af
commit
2b41cf44b5
10
.github/workflows/pipeline.yml
vendored
10
.github/workflows/pipeline.yml
vendored
@ -37,15 +37,21 @@ jobs:
|
|||||||
mvn site -DgenerateReports=false -Dmaven.compiler.source=${{ matrix.java }} -Dmaven.compiler.target=${{ matrix.java }}
|
mvn site -DgenerateReports=false -Dmaven.compiler.source=${{ matrix.java }} -Dmaven.compiler.target=${{ matrix.java }}
|
||||||
- name: Upload Test Results ${{ matrix.java }}
|
- name: Upload Test Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Test Results ${{ matrix.java }}
|
name: Test Results ${{ matrix.java }}
|
||||||
path: target/surefire-reports/
|
path: target/surefire-reports/
|
||||||
- name: Upload Test Report ${{ matrix.java }}
|
- name: Upload Test Report ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Test Report ${{ matrix.java }}
|
name: Test Report ${{ matrix.java }}
|
||||||
path: target/site/
|
path: target/site/
|
||||||
- name: Package Jar ${{ matrix.java }}
|
- name: Package Jar ${{ matrix.java }}
|
||||||
run: mvn clean package -Dmaven.compiler.source=${{ matrix.java }} -Dmaven.compiler.target=${{ matrix.java }} -Dmaven.test.skip=true -Dmaven.site.skip=true
|
run: mvn clean package -Dmaven.compiler.source=${{ matrix.java }} -Dmaven.compiler.target=${{ matrix.java }} -Dmaven.test.skip=true -Dmaven.site.skip=true
|
||||||
|
- name: Upload Package Results ${{ matrix.java }}
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Package Jar ${{ matrix.java }}
|
||||||
|
path: target/*.jar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user