From be88faf54306c614f1224d6f92645c38869dab81 Mon Sep 17 00:00:00 2001 From: "Pasch, Frederik" Date: Fri, 26 Jul 2024 08:50:07 +0200 Subject: [PATCH] update upload-artifact --- .github/workflows/scan.yml | 4 ++-- .github/workflows/scorecard.yml | 2 +- .github/workflows/test_build.yml | 26 +++++++++++++------------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 26a38f620..98bb3f64c 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -4,9 +4,9 @@ on: # Triggers the workflow on push or pull request events but # only for the main branch push: - branches: [main, humble, jazzy] + branches: [main] pull_request: - branches: [main, humble, jazzy] + branches: [main] workflow_dispatch: permissions: read-all jobs: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 9f4c207e1..4f8ed0064 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -61,7 +61,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 with: name: SARIF file path: results.sarif diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 495dd997b..e448b98c6 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -65,7 +65,7 @@ jobs: --junit-xml=TEST.xml # Add "--capture=no" to see output of tests - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-scenario-execution @@ -100,7 +100,7 @@ jobs: --junit-xml=TEST.xml # Add "--capture=no" to see output of tests - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-scenario-execution-ros @@ -150,7 +150,7 @@ jobs: #shellcheck disable=SC1083 scenario_batch_execution -i examples/example_scenario/ -o test_example_scenario -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-scenario-result @@ -177,7 +177,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i examples/example_library/scenarios -o test_example_library -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-library-result @@ -205,7 +205,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i scenario_variation_out -o test_example_variation -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-variation-result @@ -238,7 +238,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i examples/example_nav2/ -o test_example_nav2 -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-nav2-result @@ -271,7 +271,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i examples/example_simulation/scenarios/ -o test_example_simulation -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-simulation-result @@ -304,7 +304,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i examples/example_multi_robot/scenarios/ -o test_example_multirobot -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} yaw:=3.14 output_dir:={OUTPUT_DIR} headless:=True - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-multirobot-result @@ -317,13 +317,13 @@ jobs: source /rosbag2_to_video/install/setup.bash ros2 bag to_video -t /static_camera/image_raw -o test_example_multirobot/example_multi_robot/example-multi-robot.mp4 test_example_multirobot/example_multi_robot/rosbag2_* --fps 5 --codec mp4v - name: Upload video - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-multirobot-video path: test_example_multirobot/example_multi_robot/example-multi-robot.mp4 - name: Upload ros bag - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-multirobot-ros-bag @@ -352,7 +352,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i examples/example_external_method/scenarios -o test_example_external_method -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-example-external-method-result @@ -385,7 +385,7 @@ jobs: # shellcheck disable=SC1083 scenario_batch_execution -i test/scenario_execution_gazebo_test/scenarios/ -o test_scenario_execution_gazebo -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-scenario-execution-gazebo @@ -415,7 +415,7 @@ jobs: sed -i 's/p.GUI/p.DIRECT/g' ./install/scenario_execution_pybullet/lib/python3.10/site-packages/scenario_execution_pybullet/actions/sim_initialize.py ros2 run scenario_execution scenario_execution libs/scenario_execution_pybullet/scenarios/example_pybullet.osc -t -s 0.00416666666 -o test_scenario_execution_pybullet - name: Upload result - uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 if: always() with: name: test-scenario-execution-pybullet