Skip to content

Commit 0067091

Browse files
dhuangnmdhuangnm
andauthored
Bring nightly build/test back (#179)
* switch nightly back to nightly * minor update --------- Co-authored-by: dhuangnm <[email protected]>
1 parent 9afd956 commit 0067091

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
wf_category:
88
description: "workflow category: NIGHTLY, RELEASE"
99
type: string
10-
default: RELEASE
10+
default: NIGHTLY
1111
push_to_pypi:
1212
description: "When set to true, built whl and tar.gz will be pushed to public pypi if all tests pass"
1313
type: boolean

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: build
9494
id: build
95-
uses: neuralmagic/nm-actions/actions/build-ml-whl@v1.2.0
95+
uses: neuralmagic/nm-actions/actions/build-ml-whl@v1.6.0
9696
with:
9797
dev: false
9898
release: ${{ inputs.wf_category == 'RELEASE' }}

.github/workflows/trigger-all.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
workflow_dispatch:
99
inputs:
1010
wf_category:
11-
description: "workflow category, default is RELEASE"
11+
description: "workflow category, default is NIGHTLY"
1212
type: choice
1313
options:
1414
- NIGHTLY
1515
- RELEASE
16-
default: RELEASE
16+
default: NIGHTLY
1717
push_to_pypi:
1818
description: "when set and tests pass, then '.whl' & '.tar.gz' will be pushed to public pypi"
1919
type: boolean
@@ -27,11 +27,11 @@ jobs:
2727

2828
BUILD-TEST:
2929
uses: ./.github/workflows/build-test.yml
30-
name: ${{ inputs.wf_category || 'RELEASE' }}
30+
name: ${{ inputs.wf_category || 'NIGHTLY' }}
3131
with:
32-
wf_category: ${{ inputs.wf_category || 'RELEASE' }}
32+
wf_category: ${{ inputs.wf_category || 'NIGHTLY' }}
3333
gitref: ${{ inputs.gitref || 'main' }}
34-
push_to_pypi: ${{ inputs.push_to_pypi || false }}
34+
push_to_pypi: ${{ (github.event.schedule == '30 0 * * *') || inputs.push_to_pypi || false }}
3535
test_configs: '[{"python":"3.11.4","label":"ubuntu-22.04","timeout":"40"},
3636
{"python":"3.10.12","label":"ubuntu-20.04","timeout":"40"},
3737
{"python":"3.9.17","label":"k8s-a100-solo","timeout":"40"},

0 commit comments

Comments
 (0)