Skip to content

Commit 258922c

Browse files
committed
Debug
1 parent e0b0364 commit 258922c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/actions/python-environment/action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,9 @@ runs:
4646
shell: bash
4747
run: |
4848
curl -sSL https://install.python-poetry.org | POETRY_VERSION="${{ inputs.poetry-version }}" "$PYTHON_BINARY" -
49-
cat "$HOME/.bashrc"
50-
echo "export PATH="$HOME/.local/bin:$PATH"" >> "$HOME/.bashrc"
51-
echo "export PATH="$HOME/.local/bin:$PATH"" >> "$HOME/.profile"
52-
echo "export PATH="$HOME/.local/bin:$PATH"" >> "$HOME/.bash_profile"
53-
sudo echo "export PATH="$HOME/.local/bin:$PATH"" | sudo tee -a /etc/profile
49+
sudo echo "PATH="$HOME/.local/bin:$PATH"" | sudo tee -a /etc/environment
5450

5551
echo BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK 1
56-
source "$HOME/.bashrc"
5752
env:
5853
PYTHON_BINARY: "python${{ inputs.python-version }}"
5954

@@ -62,7 +57,7 @@ runs:
6257
shell: bash
6358
run: |
6459
echo BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK 2
65-
cat "$HOME/.bashrc"
60+
cat /etc/environment
6661
echo BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK 3
6762
echo $PATH
6863
echo BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK BREAK 4

0 commit comments

Comments
 (0)