Skip to content

Commit

Permalink
Update example.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon committed Oct 8, 2024
1 parent 565de6b commit df259e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ jobs:
with:
# IMPORTANT ensure first value match the surrounding job name
# IMPORTANT If the surrounding workflow is a reusable workflow itself, append ', ${{ inputs.workflow-context }}'
workflow-context: job-with-real-long-id-abcdefghijklmnopyrstuvwxyz-abcdefghijklmnopyrstuvwxyz-abcdefghijklmnopyrstuv, ${{ toJSON(matrix) }}
workflow-context: job-with-real-long-id-abcdefghijklmnopyrstuvwxyz-abcdefghijklmnopyrstuvwxyz-abcdefghijklmnopyrs, ${{ toJSON(matrix) }}
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44573,8 +44573,8 @@ function getAbsoluteJobName({ job, matrix, workflowContextChain }) {
actualJobName = `${actualJobName} (${flatValues.join(', ')})`;
}
}
if (actualJobName.length > 98) {
actualJobName = actualJobName.substring(0, 98) + '...';
if (actualJobName.length > 97) {
actualJobName = actualJobName.substring(0, 97) + '...';
}
workflowContextChain?.forEach((workflowContext) => {
const contextJob = getAbsoluteJobName(workflowContext);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ function getAbsoluteJobName({job, matrix, workflowContextChain}: {
actualJobName = `${actualJobName} (${flatValues.join(', ')})`
}
}
if (actualJobName.length > 98) {
actualJobName = actualJobName.substring(0, 98) + '...'
if (actualJobName.length > 97) {
actualJobName = actualJobName.substring(0, 97) + '...'
}

workflowContextChain?.forEach((workflowContext) => {
Expand Down

0 comments on commit df259e6

Please sign in to comment.