Skip to content

Commit

Permalink
Add venv to $GITHUB_PATH instead of $PATH and $GITHUB_ENV
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627083653
Change-Id: Iaac6a99e6a32da29c126c8a975653e0fc6b94954
  • Loading branch information
jagapiou authored and Copybara-Service committed Apr 22, 2024
1 parent 640a05b commit 957ce59
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/actions/install-meltingpot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ runs:
- name: Activate virtual environment
shell: bash
run: |
source venv/bin/activate
echo "${PWD}/venv/bin" >> $GITHUB_PATH
- name: Show installation
shell: bash
run: |
which python
which pip
pip list
echo "PATH=${PATH}" >> $GITHUB_ENV

0 comments on commit 957ce59

Please sign in to comment.