Skip to content

Bump step-security/harden-runner from 2.8.1 to 2.9.0 #254

Bump step-security/harden-runner from 2.8.1 to 2.9.0

Bump step-security/harden-runner from 2.8.1 to 2.9.0 #254

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@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
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 }}