Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/upload-artifact from 3 to 4 #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
-Prunner=:runners:google-cloud-dataflow-java \
'-PloadTest.args=${{ env.beam_LoadTests_Java_CoGBK_Dataflow_Streaming_test_arguments_4 }}' \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_Metrics_Report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
INFLUXDB_USER: ${{ secrets.INFLUXDB_USER }}
INFLUXDB_USER_PASSWORD: ${{ secrets.INFLUXDB_USER_PASSWORD }}
- name: Archive Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Metrics Report
path: "${{ github.workspace }}/.test-infra/jenkins/metrics_report/beam-metrics_report.html"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
-DintegrationTestRunner=dataflow \
-DintegrationTestPipelineOptions='[${{ env.beam_PerformanceTests_BigQueryIO_Batch_Java_Avro_test_arguments_1 }}]' \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
-DintegrationTestRunner=dataflow \
-DintegrationTestPipelineOptions='[${{ env.beam_PerformanceTests_BigQueryIO_Batch_Java_Json_test_arguments_1 }}]' \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
-DintegrationTestRunner=dataflow \
-DintegrationTestPipelineOptions='[${{ env.beam_PerformanceTests_BigQueryIO_Streaming_Java_test_arguments_1 }}]' \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
-DintegrationTestRunner=dataflow \
'-DintegrationTestPipelineOptions=[${{env.beam_PerformanceTests_SQLBigQueryIO_Batch_Java_test_arguments_1}}]' \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
-Ptest=apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it \
"-Ptest-pipeline-options=${{ env.beam_PerformanceTests_WordCountIT_PythonVersions_test_arguments_1 }}"
- name: Archive Python Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: Python Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :javaPostCommit
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Avro_Versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :javaAvroVersionsTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
gradle-command: :sdks:java:io:google-cloud-platform:bigQueryEarlyRolloutIntegrationTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_DataflowV1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
with:
gradle-command: :runners:google-cloud-dataflow-java:postCommit
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_DataflowV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :runners:google-cloud-dataflow-java:postCommitRunnerV2
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:examples:javaPostCommit
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
-PdisableCheckStyle=true \
-PskipCheckerFramework \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:examples:java${{ matrix.java_version }}PostCommit
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:examplesJavaRunnerV2IntegrationTest
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
-PtestJavaVersion=${{ matrix.java_version }} \
-Pjava${{ matrix.java_version }}Home=$JAVA_HOME_${{ matrix.java_version }}_X64 \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Examples_Direct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
gradle-command: :runners:direct:examplesIntegrationTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Examples_Flink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
with:
gradle-command: :runners:flink:1.15:examplesIntegrationTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Examples_Spark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
gradle-command: :runners:spark:3:examplesIntegrationTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Hadoop_Versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :javaHadoopVersionsTest
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
exportDataset: performance_tests
exportTable: io_performance_metrics_test
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :sdks:java:testing:jpms-tests:dataflowRunnerIntegrationTest
arguments: -Dorg.gradle.java.home=$JAVA_HOME_11_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
-PtestJavaVersion=17
-Pjava17Home=$JAVA_HOME_17_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :sdks:java:testing:jpms-tests:directRunnerIntegrationTest
arguments: -Dorg.gradle.java.home=$JAVA_HOME_11_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
-PtestJavaVersion=17
-Pjava17Home=$JAVA_HOME_17_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
-PtestJavaVersion=21
-Pjava21Home=$JAVA_HOME_21_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :sdks:java:testing:jpms-tests:flinkRunnerIntegrationTest
arguments: -Dorg.gradle.java.home=$JAVA_HOME_11_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
gradle-command: :sdks:java:testing:jpms-tests:sparkRunnerIntegrationTest
arguments: -Dorg.gradle.java.home=$JAVA_HOME_11_X64
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: runners:flink:1.15:job-server:validatesPortableRunnerStreaming
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_PVR_Samza.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
gradle-command: :runners:samza:job-server:validatesPortableRunner
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :runners:spark:3:job-server:validatesPortableRunnerStreaming
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/beam_PostCommit_Java_PVR_Spark_Batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
:runners:spark:3:job-server:validatesPortableRunnerBatch \
:runners:spark:3:job-server:validatesPortableRunnerDocker \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand All @@ -96,7 +96,7 @@ jobs:
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
files: '**/build/test-results/**/*.xml'
- name: Archive SpotBugs Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SpotBugs Results
path: "**/build/reports/spotbugs/*.html"
2 changes: 1 addition & 1 deletion .github/workflows/beam_PostCommit_Java_Sickbay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
gradle-command: :javaPostCommitSickbay
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:validatesRunner
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
-Dorg.gradle.java.home=$JAVA_HOME_${{ matrix.java_version }}_X64 \
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:validatesRunnerStreaming
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:validatesRunnerV2
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
gradle-command: :runners:google-cloud-dataflow-java:validatesRunnerV2Streaming
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: run validatesRunner script
run: ./gradlew :runners:direct-java:validatesRunner
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
-x compileTestJava \
-Dorg.gradle.java.home=$JAVA_HOME_${{ matrix.java_version }}_X64 \
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
gradle-command: :runners:flink:1.15:validatesRunner
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
-Dorg.gradle.java.home=$JAVA_HOME_11_X64 \
max-workers: 12
- name: Archive JUnit Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: JUnit Test Results
Expand Down
Loading