Add attachment's delete in messages and chats #39
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: Build Python Package | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths: | |
- '.github/workflows/pip.yml' | |
- 'python/**' | |
- '!python/dist' | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r python/requirements.txt | |
- name: Patch Protobuf | |
run: | | |
sed -i 's/from cc import/from core_chatting.cc import/' python/src/core_chatting/cc/*.py | |
- name: Build | |
working-directory: python | |
run: | | |
python -m build | |
- name: Commit and push | |
run: | | |
git config --local user.email "slntopp@users.noreply.github.com" | |
git config --local user.name "Mikita Iwanowski" | |
git add -f python/* | |
git commit -m "Update python package" | |
git push | |