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 70907cd commit cf1ac9cCopy full SHA for cf1ac9c
.github/workflows/pypi.yaml
@@ -14,11 +14,14 @@ jobs:
14
uses: actions/setup-python@v2
15
with:
16
python-version: 3.8
17
- - name: Install poetry
+ - name: Get the version
18
+ id: get_version
19
+ run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
20
+ - name: Install poetry
21
uses: Gr1N/setup-poetry@v4
22
- name: Build
23
run: |
- poetry version ${{ github.ref }}
24
+ poetry version ${{ steps.get_version.outputs.VERSION }}
25
- name: Build and publish to pypi
26
uses: JRubics/poetry-publish@v1.6
27
0 commit comments