From b0448006c12763e738d643b5edad963277310ac8 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Thu, 23 Jun 2022 07:22:07 +0200 Subject: [PATCH] Fix incomplete user/channel broadcast Contributes to CURA-9365 --- .github/workflows/conan-recipe-version.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index bd0ed224ff..1c344aa3d0 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -72,17 +72,19 @@ jobs: # pull request events are considered unstable and are for testing purposes # name/major.minor.patch-beta+build@ultimaker/pr_ echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}' - echo "::set-output name=channel::m_${{ github.event.issue.number }}" + echo "::set-output name=channel::pr_$PR_NUMBER" else # commits on other branches are considered unstable and for development purposes only # Use the Cura branch naming scheme CURA-1234_foo_bar # we use the first 9 characters of the branch name # name/major.minor.patch-beta+build@ultimaker/cura_ - + echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}' branch=${{ github.ref_name }} sanitized_branch="${branch//-/_}" echo $sanitized_branch | awk '{print "::set-output name=channel::"substr(tolower($0),0,9)}' fi + env: + PR_NUMBER: ${{ github.event.issue.number }} - name: Get latest alias id: latest-alias