mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
upgrade-upload-artifact-in-pipeline update from v3 to v4
This commit is contained in:
parent
22f8290840
commit
52f249c71e
26
.github/workflows/pipeline.yml
vendored
26
.github/workflows/pipeline.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
jar cvf target/org.json.jar -C target/classes .
|
jar cvf target/org.json.jar -C target/classes .
|
||||||
- name: Upload JAR 1.6
|
- name: Upload JAR 1.6
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Create java 1.6 JAR
|
name: Create java 1.6 JAR
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
@ -64,13 +64,13 @@ jobs:
|
|||||||
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
||||||
- name: Upload Test Results ${{ matrix.java }}
|
- name: Upload Test Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test Report ${{ matrix.java }}
|
name: Test Report ${{ matrix.java }}
|
||||||
path: target/site/
|
path: target/site/
|
||||||
@ -78,7 +78,7 @@ jobs:
|
|||||||
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
||||||
- name: Upload Package Results ${{ matrix.java }}
|
- name: Upload Package Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Package Jar ${{ matrix.java }}
|
name: Package Jar ${{ matrix.java }}
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
@ -112,13 +112,13 @@ jobs:
|
|||||||
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
||||||
- name: Upload Test Results ${{ matrix.java }}
|
- name: Upload Test Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test Report ${{ matrix.java }}
|
name: Test Report ${{ matrix.java }}
|
||||||
path: target/site/
|
path: target/site/
|
||||||
@ -126,7 +126,7 @@ jobs:
|
|||||||
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
||||||
- name: Upload Package Results ${{ matrix.java }}
|
- name: Upload Package Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Package Jar ${{ matrix.java }}
|
name: Package Jar ${{ matrix.java }}
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
@ -160,13 +160,13 @@ jobs:
|
|||||||
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
||||||
- name: Upload Test Results ${{ matrix.java }}
|
- name: Upload Test Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test Report ${{ matrix.java }}
|
name: Test Report ${{ matrix.java }}
|
||||||
path: target/site/
|
path: target/site/
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
||||||
- name: Upload Package Results ${{ matrix.java }}
|
- name: Upload Package Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Package Jar ${{ matrix.java }}
|
name: Package Jar ${{ matrix.java }}
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
@ -208,13 +208,13 @@ jobs:
|
|||||||
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
mvn site -D generateReports=false -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }}
|
||||||
- name: Upload Test Results ${{ matrix.java }}
|
- name: Upload Test Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test Report ${{ matrix.java }}
|
name: Test Report ${{ matrix.java }}
|
||||||
path: target/site/
|
path: target/site/
|
||||||
@ -222,7 +222,7 @@ jobs:
|
|||||||
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
run: mvn clean package -D maven.compiler.source=${{ matrix.java }} -D maven.compiler.target=${{ matrix.java }} -D maven.test.skip=true -D maven.site.skip=true
|
||||||
- name: Upload Package Results ${{ matrix.java }}
|
- name: Upload Package Results ${{ matrix.java }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Package Jar ${{ matrix.java }}
|
name: Package Jar ${{ matrix.java }}
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user