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.
1 parent 25e7a90 commit 2243b91Copy full SHA for 2243b91
.github/workflows/publish-to-pypi.yml
@@ -13,10 +13,13 @@ jobs:
13
permissions:
14
contents: write
15
id-token: write
16
+ outputs:
17
+ MPYTHON_VERSION: ${{ steps.getversion.outputs.MPYTHON_VERSION }}
18
steps:
19
- name: Check out package
20
uses: actions/checkout@v4
21
- name: Get package version
22
+ id: getversion
23
run: |
24
VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)
25
echo "pyproject.toml version: $VERSION"
@@ -84,6 +87,9 @@ jobs:
84
87
and upload it to GitHub Release
85
88
needs:
86
89
- publish-to-pypi
90
+ - create-tag
91
+ env:
92
+ MPYTHON_VERSION: ${{ needs.create-tag.outputs.MPYTHON_VERSION }}
93
runs-on: ubuntu-latest
94
95
0 commit comments