Skip to content

Fixed crashing invalid settings handler #2

Fixed crashing invalid settings handler

Fixed crashing invalid settings handler #2

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 47, Col: 21): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.PYPI_API_TOKEN
repository-url: https://test.pypi.org/legacy/