Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 9, 2024
1 parent defb4da commit 870b8ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq && chmod +x yq
QGIS_CURRENT_LTR=$(yq .current_ltr pyqgis_conf.yml)
QGIS_CURRENT_STABLE=$(yq .current_stable pyqgis_conf.yml)
QGIS_VERSION=$(yq --exit-status .current_${{ matrix.qgis_version }} pyqgis_conf.yml) || QGIS_VERSION=$(echo "master")
QGIS_VERSION=${{ matrix.qgis_version }}
if [[ "${QGIS_VERSION}" != 'master' ]]; then
QGIS_VERSION=$(yq --exit-status .current_${{ matrix.qgis_version }} pyqgis_conf.yml)
fi
vars=("QGIS_VERSION" "QGIS_CURRENT_STABLE" "QGIS_CURRENT_LTR")
for var in "${vars[@]}"; do
Expand Down

0 comments on commit 870b8ac

Please sign in to comment.