Skip to content

Commit b447fc8

Browse files
committed
ci: multiple lines.
1 parent 6622a6a commit b447fc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/semver-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
- name: note the solution for the failure of cargo-semver-checks
6363
if: ${{ contains(steps.semverchecks.outcome, 'failure') }}
6464
run: |
65-
echo "::error::cargo-semver-checks failed, please add the hint comment to the \`package.version\` line
65+
printf "::error::cargo-semver-checks failed, please add the hint comment to the \`package.version\` line
6666
in Cargo.toml file.\nOr you don't want to update the version, please check your code and find why
67-
cargo-semver-checks failed."
68-
echo "::warning::The comment version hint line should be like:\n \`version = \"0.0.0\" # hint: <new_version>\`"
67+
cargo-semver-checks failed.\n"
68+
printf "::warning::The comment version hint line should be like:\nversion = \"0.0.0\" # hint: <new_version>\n"
6969
exit 1
7070
# - name: Create a PR for version update reminder
7171
# if: ${{ contains(steps.semverchecks.outcome, 'failure') }}

0 commit comments

Comments
 (0)