Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Jan 30, 2024
1 parent 686e3fb commit 5ce1ce6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,19 @@ jobs:
echo "Existing ${{ matrix.version }} docker: ${DOCKER_VERSION}"
echo "Available ${{ matrix.version }} QGIS: ${QGIS_VERSION}"
echo 5
WILL_UPDATE=$(python3 -c "from packaging import version; print(1 if version.parse(${DOCKER_VERSION} or '0') < version.parse(${QGIS_VERSION}) else 0)")
echo 6
echo ${GITHUB_EVENT_NAME}
if [[ ${GITHUB_EVENT_NAME} == 'workflow_dispatch' ]]; then
echo "Force build on workflow dispatch."
WILL_UPDATE=1
fi
echo 7
if [[ ${WILL_UPDATE} == 1 ]]; then
echo "--> ${{ matrix.version }} will be updated from ${DOCKER_VERSION} to ${QGIS_VERSION}."
Expand Down

0 comments on commit 5ce1ce6

Please sign in to comment.