Skip to content

Commit 7fefa63

Browse files
authored
use github.action_path for requirements.txt (#8)
* use github.action_path for requirements.txt * fix path of minimum_versions.py script
1 parent 77e24d2 commit 7fefa63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ runs:
1616
- name: install dependencies
1717
shell: bash -l {0}
1818
run: |
19-
python -m pip install -r requirements.txt
19+
python -m pip install -r ${{ github.action_path }}/requirements.txt
2020
- name: analyze environments
2121
shell: bash -l {0}
2222
env:
2323
COLUMNS: 120
2424
FORCE_COLOR: 3
2525
INPUT: ${{ inputs.environment-paths }}
2626
run: |
27-
python minimum_versions.py $(echo $INPUT)
27+
python ${{ github.action_path }}/minimum_versions.py $(echo $INPUT)

0 commit comments

Comments
 (0)