v0.2.15 #22
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: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
PyPI: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt install -y gettext | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
- uses: actions/checkout@v3 | |
- name: Install Javascript dependencies | |
working-directory: ./django_ckeditor_5 | |
run: npm install | |
- name: Build ck-editor | |
working-directory: ./django_ckeditor_5 | |
run: npm run prod | |
- name: Install Python dependencies | |
run: python -m pip install --upgrade pip build wheel twine | |
- name: Build dist packages | |
run: python -m build --sdist --wheel | |
- name: Upload packages | |
run: python -m twine upload dist/* | |
env: | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |