Skip to content

Commit 69348f3

Browse files
TEMP: Test fixing download-artifact
It's possible a mistake was made in #163 that means we no longer download all artifacts into one directory...
1 parent acbb1a6 commit 69348f3

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/code.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -145,28 +145,29 @@ jobs:
145145
needs: [build, sdist]
146146
runs-on: ubuntu-latest
147147
# upload to PyPI and make a release on every tag
148-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
148+
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
149149
steps:
150150
- uses: actions/download-artifact@v4
151151
with:
152152
name: dist
153153
path: dist
154-
155-
- name: Github Release
156-
# We pin to the SHA, not the tag, for security reasons.
157-
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
158-
uses: softprops/action-gh-release@2d72d869af3bf23602f9593a1e3fd739b80ac1eb # v0.1.12
159-
with:
160-
files: dist/*
161-
body: See [Changelog](CHANGELOG.rst) for more details
162-
env:
163-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164-
165-
- name: Publish to PyPI
166-
env:
167-
TWINE_USERNAME: __token__
168-
TWINE_PASSWORD: ${{ secrets.pypi_token }}
169-
run: pipx run twine upload dist/*
154+
merge-multiple: true
155+
156+
# - name: Github Release
157+
# # We pin to the SHA, not the tag, for security reasons.
158+
# # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
159+
# uses: softprops/action-gh-release@2d72d869af3bf23602f9593a1e3fd739b80ac1eb # v0.1.12
160+
# with:
161+
# files: dist/*
162+
# body: See [Changelog](CHANGELOG.rst) for more details
163+
# env:
164+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
165+
166+
# - name: Publish to PyPI
167+
# env:
168+
# TWINE_USERNAME: __token__
169+
# TWINE_PASSWORD: ${{ secrets.pypi_token }}
170+
# run: pipx run twine upload dist/*
170171

171172
# Check that the master branches of various upstream dependencies are
172173
# still compatible when used together

0 commit comments

Comments
 (0)