Skip to content

Commit f044d88

Browse files
committed
Print output instead of actual deploy
1 parent a6ec8c2 commit f044d88

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: PyPI Release
22

33
on:
44
push:
5-
tags:
6-
- 'v*'
75
workflow_dispatch:
86
inputs:
97
publish:
@@ -42,9 +40,7 @@ jobs:
4240
name: github-pages
4341
url: ${{ steps.deployment.outputs.page_url }}
4442
steps:
45-
- name: Deploy to GitHub Pages
46-
id: deployment
47-
uses: actions/deploy-pages@v4
43+
- run: echo 'Deployed'
4844

4945
build_linux_release:
5046
if: github.repository == 'ml-explore/mlx'
@@ -181,9 +177,7 @@ jobs:
181177
run: du -ah dist
182178
- name: Publish package distributions to PyPI
183179
if: github.event.inputs.publish == 'true'
184-
uses: pypa/gh-action-pypi-publish@release/v1
185-
with:
186-
repository-url: https://upload.pypi.org/legacy/
180+
run: echo 'Deployed'
187181

188182
pypi-publish-cuda:
189183
name: Upload CUDA release to PyPI
@@ -204,9 +198,7 @@ jobs:
204198
run: du -ah dist
205199
- name: Publish package distributions to PyPI
206200
if: github.event.inputs.publish == 'true'
207-
uses: pypa/gh-action-pypi-publish@release/v1
208-
with:
209-
repository-url: https://upload.pypi.org/legacy/
201+
run: echo 'Deployed'
210202

211203
pypi-publish-cpu:
212204
name: Upload CPU release to PyPI
@@ -227,9 +219,7 @@ jobs:
227219
run: du -ah dist
228220
- name: Publish package distributions to PyPI
229221
if: github.event.inputs.publish == 'true'
230-
uses: pypa/gh-action-pypi-publish@release/v1
231-
with:
232-
repository-url: https://upload.pypi.org/legacy/
222+
run: echo 'Deployed'
233223

234224
pypi-publish-metal:
235225
name: Upload Metal release to PyPI
@@ -249,6 +239,4 @@ jobs:
249239
run: du -ah dist
250240
- name: Publish package distributions to PyPI
251241
if: github.event.inputs.publish == 'true'
252-
uses: pypa/gh-action-pypi-publish@release/v1
253-
with:
254-
repository-url: https://upload.pypi.org/legacy/
242+
run: echo 'Deployed'

0 commit comments

Comments
 (0)