Skip to content

Commit eb7067c

Browse files
author
Tom Softreck
committed
update
1 parent 18176f2 commit eb7067c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,23 @@ jobs:
3737
3838
- name: Install dependencies
3939
run: |
40-
# Generate lock file if it doesn't exist
40+
# Check for lock file and generate if needed
4141
if [ ! -f poetry.lock ]; then
4242
echo "No poetry.lock found, generating one..."
43+
# First install without lock file to resolve dependencies
44+
poetry install --no-dev --no-interaction --no-ansi -v --no-root
45+
# Then generate the lock file
4346
poetry lock --no-update
4447
fi
4548
46-
# Install dependencies
49+
# Install dependencies with the lock file
50+
echo "Installing dependencies..."
4751
poetry install --no-dev --no-interaction --no-ansi -v
52+
53+
# Show environment info for debugging
4854
poetry env info
55+
echo "Installed packages:"
56+
poetry show --tree
4957
5058
- name: Build and publish
5159
env:

0 commit comments

Comments
 (0)