Skip to content

Merge pull request #85 from xcaeag/dependabot/pip/requirements/black-… #94

Merge pull request #85 from xcaeag/dependabot/pip/requirements/black-…

Merge pull request #85 from xcaeag/dependabot/pip/requirements/black-… #94

Workflow file for this run

name: Packager 📦
env:
PROJECT_FOLDER: "menu_from_project"
PYTHON_VERSION: 3.8
on:
push:
branches: [ master ]
jobs:
packaging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '${{ env.PYTHON_VERSION }}'
- uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install project requirements
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U 'qgis-plugin-ci>=2.2,<2.8'
- name: Package the latest version
run: |
qgis-plugin-ci package latest
- uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT_FOLDER }}-latest
path: ${{ env.PROJECT_FOLDER }}.*.zip
if-no-files-found: error