Skip to content

Stop tracking .mo files with git #3

Stop tracking .mo files with git

Stop tracking .mo files with git #3

Workflow file for this run

name: Upload release to PyPI
on:
pull_request:
release:
types: [published]
jobs:
build:
name: Build distribution files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: pip install --user build django setuptools twine wheel
- name: Compile messages
run: django-admin compilemessages
working-directory: phonenumber_field
- name: Build package
run: python -m build
- name: Verify package
run: twine check --strict dist/*
- name: Upload distributions to GitHub
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
if-no-files-found: error