Skip to content

Commit

Permalink
update GitHub publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wenh06 committed Aug 24, 2024
1 parent d652943 commit cac8286
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip setuptools wheel build
pip install -r requirements.txt
- name: Install Hatch
uses: pypa/hatch@install
- name: Build
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit cac8286

Please sign in to comment.