Skip to content

Commit c236218

Browse files
authored
Merge pull request #45 from AI-Hypercomputer/lukebaumann-patch-1
Separating the github workflows
2 parents 9779b8e + 617eb46 commit c236218

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish.yml renamed to .github/workflows/build_wheel.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License
1414

15-
name: PyPI releases
15+
name: Build Wheel and PyPI releases
1616
on:
1717
workflow_dispatch:
1818
inputs:
@@ -37,8 +37,8 @@ jobs:
3737
uses: actions/setup-python@v5
3838
with:
3939
python-version: "3.x"
40+
- run: pip --version
4041
- name: Install pypa/build
41-
run: pip --version
4242
run: pip install build
4343
- name: Clone pathwaysutils from tag
4444
if: github.event_name == 'worfklow_dispatch'
@@ -57,9 +57,7 @@ jobs:
5757
publish-to-testpypi:
5858
if: ${{inputs.testpypi}} == true
5959
name: Publish Python distribution to TestPyPI
60-
uses: ./.github/workflows/test.yml
6160
needs:
62-
- test
6361
- build
6462
runs-on: ubuntu-latest
6563
environment:
@@ -81,10 +79,8 @@ jobs:
8179

8280
publish-to-pypi:
8381
name: Publish Python distribution to PyPI
84-
uses: ./.github/workflows/test.yml
8582
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
8683
needs:
87-
- test
8884
- build
8985
runs-on: ubuntu-latest
9086
environment:

0 commit comments

Comments
 (0)