Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixS90 committed Jun 9, 2024
1 parent 1c4e095 commit 78a169a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,19 +298,19 @@ jobs:
# Move to dist as default folder for publish action
run: New-Item -Path "." -Name "dist" -ItemType "directory"; Get-ChildItem -Path ".\*.whl",".\*.tar.gz" -Recurse | Move-Item -Destination ".\dist"
shell: pwsh
- name: Upload to PyPI
# As of 06/2024, trusted publishing does not work within reusable workflows located in a different repo
# Tracked in:
# https://github.com/pypa/gh-action-pypi-publish/issues/166
# https://github.com/pypi/warehouse/issues/11096
# https://docs.pypi.org/trusted-publishers/troubleshooting/#reusable-workflows-on-github
# More info on trusted publishing: https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
uses: pypa/gh-action-pypi-publish@release/v1
with:
# TODO: Only for testing purposes
repository-url: https://test.pypi.org/legacy/
# Basically runs twine check
verify-metadata: true
# - name: Upload to PyPI

Check warning on line 301 in .github/workflows/build-reusable.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

301:1 [comments-indentation] comment not indented like content
# # As of 06/2024, trusted publishing does not work within reusable workflows located in a different repo
# # Tracked in:
# # https://github.com/pypa/gh-action-pypi-publish/issues/166
# # https://github.com/pypi/warehouse/issues/11096
# # https://docs.pypi.org/trusted-publishers/troubleshooting/#reusable-workflows-on-github
# # More info on trusted publishing: https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# # TODO: Only for testing purposes
# repository-url: https://test.pypi.org/legacy/
# # Basically runs twine check
# verify-metadata: true
Tag:
permissions:
contents: write
Expand Down

0 comments on commit 78a169a

Please sign in to comment.