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 007ce96 commit a6af89eCopy full SHA for a6af89e
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+# Based on https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
2
+name: Publish to PyPI
3
+
4
+on:
5
+ release:
6
+ types:
7
+ - published
8
9
+jobs:
10
+ build:
11
+ name: Build distribution
12
+ runs-on: ubuntu-latest
13
+ environment:
14
+ name: pypi
15
+ url: https://pypi.org/p/armis_sdk
16
+ permissions:
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - uses: ./.github/workflows/install_deps
22
23
+ - name: Build
24
+ run: poetry build
25
26
+ - name: Publish to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments