Skip to content

v2.1.4

v2.1.4 #1

Workflow file for this run

name: Release
on:
release:
types:
- published
workflow_dispatch:
env:
name: OpenComptage
jobs:
release:
runs-on: ubuntu-22.04
name: Package / Release plugin
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Setup
run: pip install qgis-plugin-ci
- name: Package
id: package
run: |
latest_tag=${GITHUB_REF#refs/*/}
qgis-plugin-ci --no-validation package $latest_tag
echo "latest_tag=${latest_tag}" >> $GITHUB_OUTPUT
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: ${name}.${{ steps.package.outputs.latest_tag }}.zip
overwrite: true