From cac82865920be50ac799c20d9e4bc6cdf745cb0d Mon Sep 17 00:00:00 2001 From: WEN Hao Date: Sun, 25 Aug 2024 00:51:41 +0800 Subject: [PATCH] update GitHub publish workflow --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a4924d9..ad2816d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: