Skip to content

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#125) #239

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#125)

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#125) #239

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
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 }}