Skip to content

Commit

Permalink
Fix poetry installation (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban authored Aug 22, 2023
1 parent 8dedb40 commit d4d772b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: poetry
- name: Install Python
run: apt-get update && apt-get install -y python3-dev python3-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
export PATH=/bin:$PATH
- name: Install Package
run: poetry install
- name: Test Package
Expand Down

0 comments on commit d4d772b

Please sign in to comment.