Skip to content

Commit ec1bf5c

Browse files
committed
Test builds before release step runs
1 parent 46b8563 commit ec1bf5c

2 files changed

Lines changed: 4 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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ on:
1313
- "major"
1414

1515
jobs:
16+
release-tests:
17+
uses: ./.github/workflows/release-tests.yaml
1618
publish:
1719
name: publish - ${{ inputs.type }}
20+
needs: release-tests
1821
runs-on: ubuntu-latest-16-core
1922
environment: "production"
2023
permissions:

0 commit comments

Comments
 (0)