Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Jan 30, 2024
1 parent 7666a85 commit 3d40f42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:

- id: determine
name: determine QGIS and Docker versions
env:
GITHUB_EVENT_NAME: ${{ github.event_name }}
run : |
DOCKER=$(./scripts/get_docker_image_version.py --qgis=${{ matrix.qgis_type }} --dist=${{ matrix.ubuntu_dist }})
QGIS=$(./scripts/get_ubuntu_qgis_package_version.py --qgis=${{ matrix.qgis_type }} --dist ${{ matrix.ubuntu_dist }})
Expand All @@ -85,7 +87,7 @@ jobs:
WILL_UPDATE=$(python3 -c "from packaging import version; print(1 if version.parse(${DOCKER_VERSION} or '0') < version.parse(${QGIS_VERSION}) else 0)")
if [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then
if [[ '$GITHUB_EVENT_NAME' == 'workflow_dispatch' ]]; then
echo "Force build on workflow dispatch."
WILL_UPDATE=1
fi
Expand Down

0 comments on commit 3d40f42

Please sign in to comment.