Skip to content

Commit

Permalink
Merge pull request #11649 from camptocamp/backport/11638-to-2.6
Browse files Browse the repository at this point in the history
[Backport 2.6] [Backport 2.7] Add a global success marker
  • Loading branch information
sbrunner authored Jan 15, 2025
2 parents c9a4d4e + da2475e commit 427c44f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/qgis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# The versions should be set everywhere we have a == QGIS version == comment
version:
# Old LTR
- '3.10'
Expand All @@ -23,6 +24,11 @@ jobs:
MAIN_BRANCH: 2.6
MAJOR_VERSION: 2.6

# == QGIS version ==
outputs:
success-3-10: ${{ steps.success.outputs.success-3-10 }}
success-3-16: ${{ steps.success.outputs.success-3-16 }}

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -83,3 +89,21 @@ jobs:
if: >
github.ref == format('refs/heads/{0}', env.MAIN_BRANCH)
&& github.repository == 'camptocamp/c2cgeoportal'
# Mark as success
- id: success
run: |
version=${{ matrix.version }}
echo "success-${version//\./-}=true" >> $GITHUB_OUTPUT
success:
runs-on: ubuntu-24.04
name: QGIS build success
timeout-minutes: 15
needs: main
if: always()

# == QGIS version ==
steps:
- run: '[[ "${{ needs.main.outputs.success-3-10 }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-3-16 }}" == "true" ]]'

0 comments on commit 427c44f

Please sign in to comment.