Browse Source

Merge remote-tracking branch 'origin/master'

赵小蒙 1 year ago
parent
commit
56213908ff
1 changed files with 11 additions and 1 deletions
  1. 11 1
      .github/workflows/python-package.yml

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

@@ -8,6 +8,8 @@ on:
     branches: [ "master" ]
   pull_request:
     branches: [ "master" ]
+  workflow_dispatch:
+
 
 jobs:
   build:
@@ -28,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
+