File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed
image_uploader_widget/static/widgets Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python 🐍 distributions 📦 to PyPI
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build-and-publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Python 3.9
13+ uses : actions/setup-python@v1
14+ with :
15+ python-version : 3.9
16+ - name : Install pypa/build
17+ run : python -m pip install build --user
18+ - name : Build a binary wheel and a source tarball
19+ run : python -m build --sdist --wheel --outdir dist/
20+ - name : Publish distribution to PyPI
21+ uses : pypa/gh-action-pypi-publish@master
22+ with :
23+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 11env
2+ venv
23__pycache__
34* .sqlite3
45media /
Original file line number Diff line number Diff line change 1919 } ,
2020 fileRemarker : function ( e ) {
2121 var iuw = $ ( this ) . parent ( ) . data ( 'iuw' ) ;
22- if ( this . files . length == 0 ) {
22+ var raw = $ ( this ) . parent ( ) . attr ( 'data-raw' ) ;
23+ if ( this . files . length == 0 && ! raw ) {
2324 this . classList . remove ( 'non-empty' ) ;
2425 $ ( this ) . parent ( ) . find ( 'input[type=checkbox]' ) . prop ( 'checked' , true ) ;
2526 } else {
You can’t perform that action at this time.
0 commit comments