Make client session settable for HA #33
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
name: Publish package | |
# asume any tag to be a release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Make package | |
env: | |
PYPI_USER: ${{ secrets.PYPI_USER }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
PYPI_URL: ${{ vars.PYPI_URL }} | |
run: | | |
make publish REPO=$PYPI_URL USER=$PYPI_USER PASSWORD=$PYPI_PASSWORD | |
- name: Upload package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: weheat | |
path: | | |
build/* | |
if-no-files-found: error |