浏览代码

Update python-package.yml

myhloli 1 年之前
父节点
当前提交
6f5111cced
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      .github/workflows/python-package.yml

+ 9 - 1
.github/workflows/python-package.yml

@@ -30,7 +30,15 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-  
+    - name: Install wheel
+      run: |
+        python -m pip install wheel
     - name: Build wheel
       run: |
         python setup.py bdist_wheel
+    - name: Upload artifact
+      uses: actions/upload-artifact@v2
+      with:
+        name: wheel-file
+        path: dist/*.whl
+