Skip to content

Commit edc8377

Browse files
author
Jianjie Liu
committed
Notify for setup.py changes
1 parent c973907 commit edc8377

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pr-gate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
with:
7171
files: setup.py
7272

73-
- name: Raise warning for changes in 'setup.py'
73+
- name: Raise notice for changes in 'setup.py'
7474
# Throws a new release notice if there are changes in 'setup.py'
7575
if: |
7676
github.base_ref == 'main' &&
77-
steps.changed-files-specific.outputs.any_changed == 'true'
78-
run: |
79-
echo "::notice file=setup.py,title=A new release may be needed::Changes detected in 'setup.py'. Please examine if a new release on PyPI is needed"
77+
steps.setup-dot-py-changed.outputs.any_changed == 'true'
78+
run:
79+
echo "::notice file=setup.py,line=1,title=A new release may be needed::Changes detected in 'setup.py'. Please examine if a new release on PyPI is needed."
8080

8181
###############################################
8282
################## CPU-BUILD ##################

0 commit comments

Comments
 (0)