Skip to content

Commit 37d1804

Browse files
committed
fix(ci): use commit SHA for pypa/gh-action-pypi-publish (not tag SHA)
Annotated tags resolve to tag objects, not commits. GitHub Actions needs the underlying commit SHA to find the Docker image.
1 parent 228cc2a commit 37d1804

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ jobs:
113113
path: dist/
114114

115115
- name: Publish to TestPyPI
116-
uses: pypa/gh-action-pypi-publish@6733eb7d741f0b11ec6a39b58540dab7590f9b7d # v1.14.0
116+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
117117
with:
118118
repository-url: https://test.pypi.org/legacy/

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
argus scan --list
5050
5151
- name: Publish to PyPI
52-
uses: pypa/gh-action-pypi-publish@6733eb7d741f0b11ec6a39b58540dab7590f9b7d # v1.14.0
52+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5353

5454
publish-containers:
5555
name: Publish Container Images

0 commit comments

Comments
 (0)