cyrusyc commited on
Commit
e005a3b
·
1 Parent(s): 94c3c81

add workflow_run

Browse files
.github/workflows/release.yaml CHANGED
@@ -1,9 +1,10 @@
1
  name: Publish Release
2
 
3
  on:
4
- push:
5
- branches:
6
- - main # Trigger on push to main branch
 
7
 
8
  permissions:
9
  contents: write # Ensure write access to push tags
 
1
  name: Publish Release
2
 
3
  on:
4
+ workflow_run:
5
+ workflows: [Python Test]
6
+ types: [completed]
7
+ workflow_dispatch:
8
 
9
  permissions:
10
  contents: write # Ensure write access to push tags
.github/workflows/sync-hf.yaml CHANGED
@@ -1,11 +1,9 @@
1
  name: Sync to Hugging Face hub
2
 
3
  on:
4
- workflows: ["Python Test"]
5
- types:
6
- - completed
7
-
8
- # to run this workflow manually from the Actions tab
9
  workflow_dispatch:
10
 
11
  jobs:
 
1
  name: Sync to Hugging Face hub
2
 
3
  on:
4
+ workflow_run:
5
+ workflows: [Python Test]
6
+ types: [completed]
 
 
7
  workflow_dispatch:
8
 
9
  jobs:
.github/workflows/test.yaml CHANGED
@@ -44,7 +44,7 @@ jobs:
44
  uv pip install dgl -f https://data.dgl.ai/wheels/torch-${TORCH}/${CUDA}/repo.html
45
  uv pip install -e .[test]
46
  uv pip install -e .[mace]
47
- uv pip install deepmd-kit@git+https://github.com/deepmodeling/deepmd[email protected]
48
 
49
  - name: List dependencies
50
  run: pip list
 
44
  uv pip install dgl -f https://data.dgl.ai/wheels/torch-${TORCH}/${CUDA}/repo.html
45
  uv pip install -e .[test]
46
  uv pip install -e .[mace]
47
+ uv pip install -e .[deepmd]
48
 
49
  - name: List dependencies
50
  run: pip list