area calculation bug correction, add a loading GIF #54
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: "📦 Packager" | |
env: | |
PROJECT_FOLDER: "bd_topo_extractor" | |
PYTHON_VERSION: 3.9 | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
packaging: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
cache: "pip" | |
cache-dependency-path: "requirements/packaging.txt" | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install system requirements | |
run: | | |
sudo apt update | |
sudo apt install qt5-qmake qttools5-dev-tools | |
- name: Install project requirements | |
run: | | |
python -m pip install -U pip setuptools wheel | |
python -m pip install -U -r requirements/packaging.txt | |
- name: Update translations | |
run: pylupdate5 -noobsolete -verbose ${{ env.PROJECT_FOLDER }}/resources/i18n/plugin_translation.pro | |
- name: Compile translations | |
run: lrelease ${{ env.PROJECT_FOLDER }}/resources/i18n/*.ts | |
- name: Package the latest version | |
run: qgis-plugin-ci package latest --allow-uncommitted-changes | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.PROJECT_FOLDER }}-latest | |
path: ${{ env.PROJECT_FOLDER }}.*.zip | |
if-no-files-found: error | |