Skip to content

Commit c0ba10c

Browse files
authored
Tweaks to release.yml workflow (#50)
* Update release.yml - explicitly use pypa/gh-action-pypi-publish v1.12.2 - set 'attestations' and 'verbose' to true to help diagnose failures - add tag pattern to trigger running on "X.Y.Z.postN" tags
1 parent 403e604 commit c0ba10c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '\d+\.\d+\.[0-9a-z]+'
7+
- '\d+\.\d+\.[0-9a-z]+\.post\d+'
78

89
workflow_dispatch:
910
inputs:
@@ -98,7 +99,10 @@ jobs:
9899
path: dist
99100

100101
- name: Publish dist(s) to PyPI
101-
uses: pypa/gh-action-pypi-publish@release/v1
102+
uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
103+
with:
104+
attestations: true
105+
verbose: true
102106

103107
- name: Create GitHub Release
104108
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)