Skip to content

release qtalsim

release qtalsim #15

Workflow file for this run

name: release qtalsim
on:
release:
types: published
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install qgis-plugin-ci
run: pip3 install qgis-plugin-ci
- name: Package Plugin With Allowance for Uncommitted Changes
run: qgis-plugin-ci package ${{ github.ref_name }} --allow-uncommitted-changes
- name: Create Plugin Directory Structure
run: |
mkdir QTalsim
find . -maxdepth 1 ! -name 'QTalsim' ! -name '.' ! -name '.qgis-plugin-ci' ! -name '.git' -exec mv {} QTalsim/ \;
- name: Deploy plugin
run: >-
qgis-plugin-ci
release ${GITHUB_REF/refs\/tags\//}
--github-token ${{ secrets.GITHUB_TOKEN }}
--osgeo-username ${{ secrets.OSGEO_USER }}
--osgeo-password ${{ secrets.OSGEO_PASSWORD }}