We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
env
1 parent 23a81ed commit 4db3f85Copy full SHA for 4db3f85
1 file changed
.github/workflows/publish-to-pypi-on-new-tag.yml
@@ -12,15 +12,15 @@ jobs:
12
id-token: write
13
contents: read
14
steps:
15
+ - run: |
16
+ TAG="${{ github.event.release.tag_name }}"
17
+ PROJECT="${TAG%-*}"
18
+ echo "PROJECT=$PROJECT" >> $GITHUB_ENV
19
- uses: actions/checkout@v6.0.2
20
- uses: actions/setup-python@v6.2.0
21
with:
22
python-version: 3.x
23
- run: pip install build
- - run: |
- TAG="${{ github.event.release.tag_name }}"
- PROJECT="${TAG%-*}"
- echo "PROJECT=$PROJECT" >> $GITHUB_ENV
24
- run: cd ${{ env.PROJECT }} && python -m build
25
- uses: pypa/gh-action-pypi-publish@release/v1.14
26
0 commit comments