Skip to content

chore(test_and_version.yml): Use PAT #3

chore(test_and_version.yml): Use PAT

chore(test_and_version.yml): Use PAT #3

Workflow file for this run

name: Publish
on:
push:
branches: [ "master" ]
jobs:
publish:
if: startsWith(github.ref, 'refs/tags/v')
concurrency: publish
runs-on: ubuntu-latest
env:
FLIT_USERNAME: ${{ variable.FLIT_USERNAME }}

Check failure on line 13 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 13, Col: 22): Unrecognized named-value: 'variable'. Located at position 1 within expression: variable.FLIT_USERNAME
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
pip install --upgrade pip
pip install flit
- name: Publish with flit
run: |
flit publish