Skip to content

Commit

Permalink
fix(build): poetry install order
Browse files Browse the repository at this point in the history
* install poetry before poetry env
  • Loading branch information
abrichr authored May 10, 2024
1 parent c6c1768 commit a475ee3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install the latest version of the project
run: |
git pull
pip install poetry
poetry install
- name: Ensure correct Python version with Poetry
run: poetry env use 3.10
- name: Check Python version
Expand All @@ -110,11 +115,6 @@ jobs:
github_token: ${{ secrets.ADMIN_TOKEN }} # Use the new token for authentication
git_committer_name: "OpenAdapt Bot"
git_committer_email: "[email protected]"
- name: Install the latest version of the project
run: |
git pull
pip install poetry
poetry install
- name: Upload release assets
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a475ee3

Please sign in to comment.