aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornkozlovskiy <nmk@ydb.tech>2023-08-28 17:39:46 +0300
committernkozlovskiy <nmk@ydb.tech>2023-08-28 17:59:42 +0300
commit10807faf0a0ec2116a95dfabcefaeaa8bdd14f4a (patch)
treec034a436443733733ebf4f1607f5f60b09420c2f
parent4e949f902f6ad6f88dbd27508547fd04ccfc413a (diff)
downloadydb-10807faf0a0ec2116a95dfabcefaeaa8bdd14f4a.tar.gz
testmo; replace underscore with dash
-rw-r--r--.github/actions/test/action.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml
index a6eba67e3aa..bf01f32bd2a 100644
--- a/.github/actions/test/action.yml
+++ b/.github/actions/test/action.yml
@@ -92,6 +92,8 @@ runs:
run: |
RUN_URL="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
BRANCH_TAG="$GITHUB_REF_NAME"
+ TESTMO_SOURCE="${{ inputs.log_suffix }}"
+ TESTMO_SOURCE="${TESTMO_SOURCE/_/-}"
case $GITHUB_EVENT_NAME in
workflow_dispatch)
@@ -116,7 +118,7 @@ runs:
testmo automation:resources:add-link --name build --url $RUN_URL --resources testmo.json
testmo automation:resources:add-field --name git-sha --type string --value ${GITHUB_SHA:0:7} --resources testmo.json
testmo automation:run:create --instance "$TESTMO_URL" --project-id ${{inputs.testman_project_id}} --name "$TESTMO_RUN_NAME" \
- --source "${{inputs.log_suffix}}" --resources testmo.json \
+ --source "$TESTMO_SOURCE" --resources testmo.json \
--tags "$BRANCH_TAG" --tags "$EXTRA_TAG" | \
echo "runid=$(cat)" >> $GITHUB_OUTPUT