Skip to content

Bump github/codeql-action from 2 to 3 #182

Bump github/codeql-action from 2 to 3

Bump github/codeql-action from 2 to 3 #182

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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
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@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
if: ${{ github.event_name == 'release'}}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ad_map_access_qgis.zip
tag: ${{ github.ref }}