Skip to content

Commit

Permalink
use sudo for workflow commands (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban committed Aug 22, 2023
1 parent d4d772b commit 536c286
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Python
run: apt-get update && apt-get install -y python3-dev python3-venv
run: sudo apt-get update && sudo apt-get install -y python3.10-dev python3.10-venv
- name: Install Poetry
run: |
apt-get update
apt-get install -y python3.10-dev python3.10-venv
mkdir -p /usr/local/poetry
python3.10 -m venv /usr/local/poetry
/usr/local/poetry/bin/pip install poetry==1.6
ln -s /usr/local/poetry/bin/poetry /bin/poetry
sudo mkdir -p /usr/local/poetry
sudo python3.10 -m venv /usr/local/poetry
sudo /usr/local/poetry/bin/pip install poetry==1.6
sudo ln -s /usr/local/poetry/bin/poetry /bin/poetry
export PATH=/bin:$PATH
- name: Install Package
run: poetry install
Expand Down

0 comments on commit 536c286

Please sign in to comment.