Skip to content

Commit

Permalink
Use venv?
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Jun 6, 2024
1 parent bae5ca2 commit 921aebc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ branding:
runs:
using: 'composite'
steps:
- run: python3 -m pip install requests
shell: bash

- id: run-diffuse
env:
INPUT_OLD_FILE: ${{ inputs.old-file-path }}
Expand All @@ -102,5 +99,9 @@ runs:
INPUT_DIFFUSE_REPO: ${{ inputs.diffuse-repo }}
INPUT_DEBUG: ${{ inputs.debug }}
INPUT_GITHUB_TOKEN: ${{ github.token }}
run: python3 "$GITHUB_ACTION_PATH"/entrypoint.py
run: |
python3 -m venv "$GITHUB_ACTION_PATH"/diffuse-venv
source "$GITHUB_ACTION_PATH"/diffuse-venv/bin/activate
python3 -m pip install requests
python3 "$GITHUB_ACTION_PATH"/entrypoint.py
shell: bash

0 comments on commit 921aebc

Please sign in to comment.