We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a64866 commit 0bc4921Copy full SHA for 0bc4921
.github/workflows/release.yml
@@ -0,0 +1,20 @@
1
+name: EvaP Release
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ pypi-publish:
8
+ name: upload release to PyPI
9
+ runs-on: ubuntu-latest
10
+ environment: release
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - run: |
15
+ RUN_ID=$(gh run list --commit "$GITHUB_REF" --status success --workflow "EvaP Test Suite" --json databaseId --jq '.[].databaseId')
16
+ gh run download "$RUN_ID" --name wheel --dir dist
17
+ - run: tar tvf dist/*.tar.gz
18
+ - run: unzip -l dist/*.whl
19
+ - name: Publish package distributions to PyPI
20
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments