Skip to content

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 #258

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 #258

name: Create Release Package for AD-Map QGIS Plugin
on:
release:
types: [published]
push:
branches: master
pull_request:
branches: master
jobs:
publish:
name: Publish AD-Map QGIS Plugin
runs-on: ubuntu-20.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Install Dependencies
run: bash .github/workflows/install_dependencies.sh
- name: Build Libraries
run: |
colcon build --event-handlers console_direct+ --executor sequential --metas colcon_python.meta --packages-up-to ad_map_access_qgis
- name: Build Package
run: |
cd install/ad_map_access_qgis/share/qgis/python/plugins/
zip -r ad_map_access_qgis.zip ad_map_access_qgis/
mv ad_map_access_qgis.zip ../../../../../../
- name: Upload binaries to release
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2
if: ${{ github.event_name == 'release'}}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ad_map_access_qgis.zip
tag: ${{ github.ref }}