Fix kerberos env variable name #28
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
name: Version Update | |
on: | |
push: | |
branches: | |
- 'master' | |
paths: | |
- 'VERSION' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Get local version | |
run: echo "version=$(cat VERSION)" >> $GITHUB_ENV | |
- name: Create tag | |
uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: ${{ env.version }} | |
- name: Build release assets | |
run: | | |
pip install pex wheel | |
python3 setup.py sdist -d sdist | |
python3 setup.py bdist_pex | |
- name: Create the release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ env.version }} | |
files: dist/* | |
- name: Upload to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI_KEY }} | |
packages_dir: sdist/ |