瀏覽代碼

update workflow

赵小蒙 1 年之前
父節點
當前提交
887a3d989b
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      .github/workflows/python-package.yml

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

@@ -13,9 +13,7 @@ on:
 jobs:
 
   update-version:
-
     runs-on: ubuntu-latest
-
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4
@@ -87,7 +85,7 @@ jobs:
             });
 
   build:
-
+    needs: [ update-version ]
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false