Skip to content

Commit 735961e

Browse files
committed
Print a message if no changes are detected during publish job
1 parent 767e2b9 commit 735961e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
export CHANGED=$(cargo workspaces changed --include-merged-tags --ignore-changes "**/Cargo.toml")
4444
if [[ -z "$CHANGED" && "$GITHUB_EVENT_NAME" != "workflow_dispatch" ]]; then
4545
# Nothing has changed, so don't publish a new version
46+
echo "No changes detected, skipping publish."
4647
exit 0
4748
fi
4849

0 commit comments

Comments
 (0)