Update metadata.txt #40
Workflow file for this run
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: 🔌 Plugin | Package and release | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
plugin-package: | |
name: Packages and releases plugin | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Qt lrelease | |
run: | | |
sudo apt-get update | |
sudo apt-get install qtbase5-dev qttools5-dev-tools | |
- name: Install qgis-plugin-ci | |
run: pip install qgis-plugin-ci>=2.8.6 | |
- name: 🌍 Push translations | |
if: ${{ github.event_name == 'push' }} | |
run: qgis-plugin-ci push-translation ${{ secrets.TX_TOKEN }} | |
- name: Install pgservice parser | |
run: pip install -r requirements.txt -t pg_service_parser/libs | |
- name: Package | |
run: | | |
VERSION=0.0.0 | |
qgis-plugin-ci -v package ${VERSION} \ | |
--allow-uncommitted-changes \ | |
--asset-path pg_service_parser/libs \ | |
--transifex-token "${{ secrets.TX_TOKEN }}" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: pg_service_parser_dev | |
path: pg_service_parser.0.0.0.zip | |
if-no-files-found: error |