Skip to content

Commit 54fa128

Browse files
authored
Update main_py_to_bitly.yml
1 parent be64530 commit 54fa128

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main_py_to_bitly.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
- name: Check main.py exists
2020
shell: bash
2121
run: |
22-
if [ -z ${{ env.path_of_main_py }} ]; then
22+
$path_of_main_py=$(echo '${{ env.path_of_main_py }}' | sed -e 's/([^)]*)//g)
23+
echo $path_of_main_py
24+
if [ -z $path_of_main_py ]; then
2325
echo "No main.py exists"
2426
exit 1
2527
fi

0 commit comments

Comments
 (0)