CloudFormation CLI Java Plugin Release #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will release project to PyPI | |
name: CloudFormation CLI Java Plugin Release | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
build: | |
if: endsWith(github.ref, '-plugin') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade wheel twine | |
- name: Package project | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Publish distribution 📦 to PyPI (If triggered from release) | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
password: ${{ secrets.PYPI_API_KEY_CLOUDFORMATION_CLI_JAVA_PLUGIN }} |