Skip to content

Commit 58cb179

Browse files
author
evgenii
committed
CI: fix indentation in wheels.yml (publish job)
1 parent b94eb08 commit 58cb179

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

.github/workflows/wheels.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -220,54 +220,54 @@ jobs:
220220
set_upload_vars
221221
upload_wheels
222222
223-
publish:
224-
if: >
225-
github.repository == 'evgmosme/pandas' &&
226-
github.event_name == 'push' &&
227-
startsWith(github.ref, 'refs/tags/v')
223+
publish:
224+
if: >
225+
github.repository == 'evgmosme/pandas' &&
226+
github.event_name == 'push' &&
227+
startsWith(github.ref, 'refs/tags/v')
228228
229-
needs:
230-
- build_sdist
231-
- build_wheels
229+
needs:
230+
- build_sdist
231+
- build_wheels
232232

233-
runs-on: ubuntu-latest
233+
runs-on: ubuntu-latest
234234

235-
environment:
236-
name: testpypi # must match the Environment in repo settings
237-
permissions:
238-
id-token: write # OIDC for Trusted Publishing
239-
contents: read
235+
environment:
236+
name: testpypi # must match the Environment in repo settings
237+
permissions:
238+
id-token: write # OIDC for Trusted Publishing
239+
contents: read
240240

241-
steps:
242-
- name: Download all artefacts
243-
uses: actions/download-artifact@v4
244-
with:
245-
path: dist # everything lands in ./dist/**
241+
steps:
242+
- name: Download all artefacts
243+
uses: actions/download-artifact@v4
244+
with:
245+
path: dist # everything lands in ./dist/**
246246

247-
- name: Collect files
248-
run: |
249-
mkdir -p upload
250-
# skip any wheel that contains 'pyodide'
251-
find dist -name '*pyodide*.whl' -prune -o \
252-
-name '*.whl' -exec mv {} upload/ \;
253-
find dist -name '*.tar.gz' -exec mv {} upload/ \;
247+
- name: Collect files
248+
run: |
249+
mkdir -p upload
250+
# skip any wheel that contains 'pyodide'
251+
find dist -name '*pyodide*.whl' -prune -o \
252+
-name '*.whl' -exec mv {} upload/ \;
253+
find dist -name '*.tar.gz' -exec mv {} upload/ \;
254254
255-
- name: Publish to **Test PyPI** (Trusted Publishing)
256-
uses: pypa/gh-action-pypi-publish@release/v1
257-
with:
258-
repository-url: https://test.pypi.org/legacy/
259-
packages-dir: upload
260-
skip-existing: true
255+
- name: Publish to **Test PyPI** (Trusted Publishing)
256+
uses: pypa/gh-action-pypi-publish@release/v1
257+
with:
258+
repository-url: https://test.pypi.org/legacy/
259+
packages-dir: upload
260+
skip-existing: true
261261

262-
# environment:
263-
# name: pypi
264-
# permissions:
265-
# id-token: write
266-
# contents: read
267-
#
268-
# - name: Publish to **PyPI** (Trusted Publishing)
269-
# uses: pypa/gh-action-pypi-publish@release/v1
270-
# with:
271-
# repository-url: https://upload.pypi.org/legacy/
272-
# packages-dir: upload
273-
# skip-existing: true
262+
# environment:
263+
# name: pypi
264+
# permissions:
265+
# id-token: write
266+
# contents: read
267+
#
268+
# - name: Publish to **PyPI** (Trusted Publishing)
269+
# uses: pypa/gh-action-pypi-publish@release/v1
270+
# with:
271+
# repository-url: https://upload.pypi.org/legacy/
272+
# packages-dir: upload
273+
# skip-existing: true

0 commit comments

Comments
 (0)