Skip to content

Commit

Permalink
to temp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bauergeorg committed May 4, 2022
1 parent d60d2b9 commit c20ee18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ runs:
with:
repository: rohmanngmbh/action-checkout-repo
ref: main
path: .temp

# Run python (environment variables has to be set separately https://github.com/actions/runner/issues/665)
- name: Run handle reference on linux/mac
Expand All @@ -78,6 +79,7 @@ runs:
INPUT_ALT_REF: ${{ inputs.alt_ref }}
shell: bash
run: |
cd .temp
pip3 install virtualenv
python3 -m venv ~/venvs/venv3
source ~/venvs/venv3/bin/activate
Expand All @@ -87,6 +89,7 @@ runs:
deactivate
python3 -m venv ~/venvs/venv3 --clear
rm -rf ~/venvs/venv3
cd ..
echo "******************* Checkout *******************"
# Run python (environment variables has to be set separately https://github.com/actions/runner/issues/665)
Expand All @@ -100,8 +103,10 @@ runs:
shell: cmd
run: |
echo "*************** Pre-Run Checkout ***************"
cd .temp
pip install -r requirements.txt
python main.py
cd ..
echo "******************* Checkout *******************"
# Show ref information
Expand Down

0 comments on commit c20ee18

Please sign in to comment.