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 7d8216e commit bb6236dCopy full SHA for bb6236d
.github/workflows/pypi-release.yaml
@@ -0,0 +1,26 @@
1
+# This workflow will release project to PyPI
2
+name: CloudFormation CLI Java Plugin Release
3
+
4
+on:
5
+ release:
6
+ types: [ published ]
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Python 3.8
14
+ uses: actions/setup-python@v2
15
+ with:
16
+ python-version: 3.8
17
+ - name: Install dependencies
18
+ run: |
19
+ pip install --upgrade pip wheel twine
20
+ - name: Package project
21
22
+ python setup.py sdist bdist_wheel
23
+ - name: Publish distribution 📦 to PyPI (If triggered from release)
24
+ uses: pypa/gh-action-pypi-publish@master
25
26
+ password: ${{ secrets.PYPI_API_KEY_CLOUDFORMATION_CLI_JAVA_PLUGIN }}
0 commit comments