We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbfa400 commit 6b93126Copy full SHA for 6b93126
1 file changed
.github/workflows/manual_release.yml
@@ -0,0 +1,32 @@
1
+# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
2
+
3
+name: Upload Python Package
4
5
+on: workflow_dispatch
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v4
14
+ with:
15
+ python-version: '3.9'
16
+ - name: Install Dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install build
20
+ pip install pylint
21
+ pip install -r requirements.txt
22
+ - name: Test API
23
24
+ pylint prismacloud/api
25
+ - name: Build
26
27
+ python -m build
28
+ - name: Publish
29
+ uses: pypa/gh-action-pypi-publish@release/v1
30
31
+ user: __token__
32
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments