File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CD
2+ on : [workflow_dispatch]
3+
4+ jobs :
5+ test-pypi-deploy :
6+ name : Deploy to Test PyPI
7+ runs-on : ubuntu-latest
8+ permissions :
9+ id-token : write
10+ environment :
11+ name : splunk-test-pypi
12+ steps :
13+ - name : Checkout source
14+ uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
15+ - name : Set up Python
16+ uses : actions/setup-python@3d1e2d2ca0a067f27da6fec484fce7f5256def85
17+ with :
18+ python-version : 3.9
19+ - name : Install dependencies
20+ run : pip install build
21+ - name : Build package
22+ run : python -m build
23+ - name : Publish package to Test PyPI
24+ uses : pypa/gh-action-pypi-publish@d417ba7e7683fa9104c42abe611c1f2c93c0727d
25+ with :
26+ user : __token__
27+ password : ${{ secrets.TEST_PYPI_PASSWORD }}
28+ repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments