Fixed crashing invalid settings handler #3
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: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
python-version: [ "3.10", "3.11", "3.12" ] | ||
django-version: [ 4, 5 ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/test | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
django-version: ${{ matrix.django-version }} | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build twine | ||
- name: Build | ||
run: python -m build | ||
- name: Check | ||
run: twine check dist/* | ||
- name: Release | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{secret.PYPI_API_TOKEN}} | ||
Check failure on line 47 in .github/workflows/release.yml GitHub Actions / ReleaseInvalid workflow file
|
||
repository-url: https://test.pypi.org/legacy/ |