Skip to content

removed cache

removed cache #18

name: Upload Python Package
on:
push:
branches:
- main
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python3 -m pip install build
python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- uses: hugozhu/dingtalk-github-action@v1
with:
token: ${{ secrets.DINGTALK_TOKEN }}
title: 'Blog updated from Github action'
type: text
content: |
## streamlit-auth published
> from github action message