Skip to content

Commit 4859fc6

Browse files
committed
Test builds before release step runs
1 parent 87bbe58 commit 4859fc6

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/release-tests.yaml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ on:
44
pull_request:
55
branches:
66
- master
7-
- releases/*
8-
push:
9-
branches:
10-
- master
11-
- releases/*
7+
workflow_call:
128

139
jobs:
1410
build:

‎.github/workflows/release.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ on:
1313
- "major"
1414

1515
jobs:
16+
# snapshot build of every release target, including the multi-platform docker
17+
# images, so a broken build fails before we tag and publish anything
18+
release-tests:
19+
uses: ./.github/workflows/release-tests.yaml
1620
publish:
1721
name: publish - ${{ inputs.type }}
22+
needs: release-tests
1823
runs-on: ubuntu-latest-16-core
1924
environment: "production"
2025
permissions:

0 commit comments

Comments
 (0)