Skip to content

Commit a475ee3

Browse files
authored
fix(build): poetry install order
* install poetry before poetry env
1 parent c6c1768 commit a475ee3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-and-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ jobs:
9999
uses: actions/setup-python@v4
100100
with:
101101
python-version: '3.10'
102+
- name: Install the latest version of the project
103+
run: |
104+
git pull
105+
pip install poetry
106+
poetry install
102107
- name: Ensure correct Python version with Poetry
103108
run: poetry env use 3.10
104109
- name: Check Python version
@@ -110,11 +115,6 @@ jobs:
110115
github_token: ${{ secrets.ADMIN_TOKEN }} # Use the new token for authentication
111116
git_committer_name: "OpenAdapt Bot"
112117
git_committer_email: "[email protected]"
113-
- name: Install the latest version of the project
114-
run: |
115-
git pull
116-
pip install poetry
117-
poetry install
118118
- name: Upload release assets
119119
env:
120120
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)