Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 4ab0153

Browse files
committed
Fix reporting value
Update build_type name Signed-off-by: Devin Bonnie <[email protected]>
1 parent 079aa9e commit 4ab0153

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/build_and_test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
ros_distro: [kinetic, melodic, dashing]
20-
build_type: [master, release_latest]
20+
build_type: [master, release-latest]
2121
include:
2222
- ros_distro: kinetic
2323
ubuntu_distro: xenial
@@ -55,15 +55,15 @@ jobs:
5555
# Only runs when scheduled
5656
- name: Build and test ${{ matrix.ros_distro }} ${{ matrix.ros_version }} ${{ matrix.build_type }}
5757
uses: ros-tooling/[email protected]
58-
if: ${{ matrix.build_type == 'release_latest' && github.event_name == 'schedule' }}
58+
if: ${{ matrix.build_type == 'release-latest' && github.event_name == 'schedule' }}
5959
with:
6060
source-ros-binary-installation: ${{ matrix.ros_distro }}
6161
package-name: aws_common
6262
extra-cmake-args: ${{ matrix.extra_cmake_args }}
63-
vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/release_latest.repos"
63+
vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/release-latest.repos"
6464
- name: Upload workflow colcon logs as artifacts
6565
uses: actions/upload-artifact@v1
66-
# Only upload if the master build_type ran, don't upload if non-scheduled for release_latest build_type
66+
# Only upload if the master build_type ran, don't upload if non-scheduled for release-latest build_type
6767
if: ${{ matrix.build_type == 'master' || github.event_name == 'schedule' }}
6868
with:
6969
name: colcon-logs-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}
@@ -86,6 +86,12 @@ jobs:
8686
aws-region: ${{ secrets.AWS_REGION }}
8787
- uses: ros-tooling/[email protected]
8888
with:
89+
metric-dimensions: >-
90+
[
91+
{ "Name": "github.event_name", "Value": "${{ github.event_name }}" },
92+
{ "Name": "github.ref", "Value": build_and_test },
93+
{ "Name": "github.repository", "Value": "${{ github.repository }}" }
94+
]
8995
# Checks if any of the jobs have failed.
9096
#
9197
# needs.*.result is returns the list of all success statuses as an

0 commit comments

Comments
 (0)