Skip to content

Commit a04e37a

Browse files
authored
Update main_py_to_bitly.yml
1 parent 5cd86c5 commit a04e37a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main_py_to_bitly.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
job1:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- name: get repo
10+
uses: actions/checkout@v4
1011
with:
1112
fetch-depth: 2
1213
- name: get path of main.py
13-
with:
14-
path_of_main_py: |
15-
run: git diff --name-only HEAD~1 HEAD | grep '/main.py'
14+
run: echo "path_of_main_py=$(git diff --name-only HEAD~1 HEAD | grep '/main.py')"
1615
- name: print path_of_main_py
1716
run: echo "${{ steps.with.path_of_main_py }}"

0 commit comments

Comments
 (0)