Skip to content

Commit cde0868

Browse files
- Introduced usage of venv in action yml code. (#88)
1 parent b9b4b70 commit cde0868

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ runs:
9797
else
9898
echo "Python version meets the minimum requirement of $minimal_required_version"
9999
fi
100+
101+
python -m venv .venv
102+
source .venv/bin/activate
100103
pip install -r ${{ github.action_path }}/requirements.txt
101104
shell: bash
102105

@@ -125,5 +128,6 @@ runs:
125128
INPUT_ROW_FORMAT_PR: ${{ inputs.row-format-pr }}
126129
INPUT_ROW_FORMAT_LINK_PR: ${{ inputs.row-format-link-pr }}
127130
run: |
131+
source .venv/bin/activate
128132
python ${{ github.action_path }}/main.py
129133
shell: bash

0 commit comments

Comments
 (0)