Skip to content

Commit 1f22c89

Browse files
author
Pat
authored
workflows: add sanity check on release (#7474)
* workflows: add sanity check on release Signed-off-by: Patrick Stephens <[email protected]> * workflows: remove unnecessary change Signed-off-by: Patrick Stephens <[email protected]> --------- Signed-off-by: Patrick Stephens <[email protected]>
1 parent 3446ace commit 1f22c89

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/staging-release.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131

3232
staging-release-version-check:
3333
name: Check staging release matches
34-
environment: release
3534
runs-on: ubuntu-latest
3635
outputs:
3736
major-version: ${{ steps.get_major_version.outputs.value }}
3837
permissions:
39-
contents: none
38+
contents: read
4039
steps:
4140
- name: Get the version on staging
4241
run: |
@@ -64,6 +63,17 @@ jobs:
6463
env:
6564
RELEASE_VERSION: ${{ github.event.inputs.version }}
6665

66+
- name: Checkout repository
67+
uses: actions/checkout@v3
68+
69+
# Check we can download the AppVeyor build which confirms it matches the version to release as well as being a successful build
70+
- name: Get Appveyor binaries
71+
run: |
72+
./packaging/appveyor-download.sh
73+
shell: bash
74+
env:
75+
TAG: v${{ github.event.inputs.version }}
76+
6777
staging-release-generate-package-matrix:
6878
name: Get package matrix
6979
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)