Skip to content

Commit

Permalink
Add a global success marker
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jan 10, 2025
1 parent 9371255 commit fcc5bd9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/qgis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# The versions should be set everywhere we have a == QGIS version == comment
version:
- '3.34'
- 3.34-gdal3.8
Expand All @@ -54,6 +55,15 @@ jobs:
- lr-debug
- master

# == QGIS version ==
outputs:
success-3-34: ${{ steps.success.outputs.success-3-34 }}
success-3-34-gdal3-8: ${{ steps.success.outputs.success-3-34-gdal3-8 }}
success-ltr: ${{ steps.success.outputs.success-ltr }}
success-lr: ${{ steps.success.outputs.success-lr }}
success-lr-debug: ${{ steps.success.outputs.success-lr-debug }}
success-master: ${{ steps.success.outputs.success-master }}

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -130,3 +140,25 @@ jobs:
path: /tmp/dpkg-versions.patch
retention-days: 1
if: failure()

# Mark as success
- id: success
run: |
version=${{ matrix.version }}
echo "::set-output name=success-${version//\./-}::true"
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-34 }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-3-34-gdal3-8 }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-ltr }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-lr }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-lr-debug }}" == "true" ]]'
- run: '[[ "${{ needs.main.outputs.success-master }}" == "true" ]]'

0 comments on commit fcc5bd9

Please sign in to comment.