Skip to content

Commit

Permalink
Update publish_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 authored May 9, 2024
1 parent fb4daab commit 32d2da2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'

- name: Install build and tomlkit dependencies
run: python -m pip install --upgrade pip build tomlkit
Expand All @@ -42,7 +42,9 @@ jobs:

- name: Install Comfy CLI from Test Pypi and Test
run: |
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple comfy-cli==${{env.VERSION}}
for i in {1..3}; do
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple comfy-cli==${{env.VERSION}} && break || sleep 5
done
comfy --help
- name: Publish distribution to Official PyPI
Expand Down

0 comments on commit 32d2da2

Please sign in to comment.