Skip to content

Commit 6ca56d3

Browse files
author
Dmytro Parfeniuk
committed
πŸ‘·β€β™‚οΈ 'build_type' is used for renaming the build name
1 parent c81e648 commit 6ca56d3

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

β€Ž.github/workflows/development.ymlβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ jobs:
5757
uses: actions/setup-python@v5
5858
with:
5959
python-version: "3.8"
60-
- name: Build and Publish Final Release
61-
uses: neuralmagic/nm-actions/actions/publisher@main
60+
- name: Build and Publish Candidate Release
61+
uses: neuralmagic/nm-actions/actions/publish_pypi@main
6262
with:
6363
publish_pypi: false
6464
publish_pypi_internal: true
65-
timestamp: true
66-
prefix: "-dev"
65+
build_type: "dev"

β€Ž.github/workflows/nightly.ymlβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ jobs:
7878
with:
7979
python-version: "3.8"
8080
- name: Build and Publish a Candidate Release
81-
uses: neuralmagic/nm-actions/actions/publisher@main
81+
uses: neuralmagic/nm-actions/actions/publish_pypi@main
8282
with:
83-
publish_pypi_internal: true
8483
publish_pypi: true
85-
timestamp: true
86-
prefix: "nightly-"
84+
publish_pypi_internal: true
85+
build_type: "nightly"

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ jobs:
8282
with:
8383
python-version: "3.8"
8484
- name: Build and Publish Final Release
85-
uses: neuralmagic/nm-actions/actions/publisher@main
85+
uses: neuralmagic/nm-actions/actions/publish_pypi@main
8686
with:
87-
publish_pypi_internal: true
8887
publish_pypi: true
88+
publish_pypi_internal: true
89+
build_type: "release"

β€Ž.github/workflows/staging.ymlβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,8 @@ jobs:
8080
with:
8181
python-version: "3.8"
8282
- name: Build and Publish a Candidate Release
83-
uses: neuralmagic/nm-actions/actions/publisher@main
83+
uses: neuralmagic/nm-actions/actions/publish_pypi@main
84+
with:
85+
publish_pypi: false
86+
publish_pypi_internal: true
87+
build_type: "release"

0 commit comments

Comments
Β (0)