minor bump

update README with example bits in config
This commit is contained in:
2025-01-24 00:49:55 +00:00
parent 5534381981
commit d95a2280c6
3 changed files with 24 additions and 28 deletions

View File

@@ -15,35 +15,29 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pdm sync -d -G build
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt
- name: building addon
run: pdm run scons
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y gettext
- name: Code checks
run: export SKIP=no-commit-to-branch; pre-commit run --all
- name: building addon
run: scons
- uses: actions/upload-artifact@v3
with:
name: packaged_addon
path: ./*.nvda-addon
- uses: actions/upload-artifact@v3
with:
name: packaged_addon
path: ./*.nvda-addon
upload_release:
runs-on: ubuntu-latest