Skip to content

Commit

Permalink
chore: handle job name length limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarasani-crest committed Oct 28, 2024
1 parent 1b60166 commit 99c39cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,7 @@ jobs:
run: |
RANDOM_STRING=$(head -3 /dev/urandom | tr -cd '[:lower:]' | cut -c -4)
JOB_NAME=${{ needs.setup.outputs.job-name }}-${RANDOM_STRING}
JOB_NAME=${JOB_NAME//TEST-TYPE/${{ env.TEST_TYPE }}}
JOB_NAME=${JOB_NAME//TEST-TYPE/ucc_modinput}
JOB_NAME=${JOB_NAME//[_.]/-}
JOB_NAME=$(echo "$JOB_NAME" | tr '[:upper:]' '[:lower:]')
echo "job-name=$JOB_NAME" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 99c39cc

Please sign in to comment.