Skip to content

Commit 5319070

Browse files
committed
Test the external action path when running on main
1 parent 80186ae commit 5319070

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ runs:
2626
with:
2727
python-version: '3.13'
2828

29-
# Install dfetch if NOT running inside the dfetch repo
29+
# Install dfetch from main if NOT running on a branch in the dfetch repo
3030
- name: Install dfetch from GitHub
31-
if: ${{ github.repository != 'dfetch-org/dfetch' }}
32-
run: pip install git+https://github.com/dfetch-org/dfetch.git#egg=dfetch
31+
if: ${{ github.repository != 'dfetch-org/dfetch' || github.ref_name == 'main' }}
32+
run: pip install git+https://github.com/dfetch-org/dfetch.git@main#egg=dfetch
3333
shell: bash
3434

3535
# Install dfetch locally if running inside the dfetch repo

0 commit comments

Comments
 (0)