-
Notifications
You must be signed in to change notification settings - Fork 37
54 lines (50 loc) · 1.5 KB
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: master
on:
push:
branches:
- master
- main
- feature-**
paths-ignore:
- CHANGELOG.md
tags-ignore:
- v*
- sdk/*
- "**"
workflow_dispatch:
inputs:
short_test:
type: boolean
description: Skip longer running tests
default: false
jobs:
version:
uses: ./.github/workflows/version.yml
secrets: inherit
build_test:
uses: ./.github/workflows/build-test.yml
secrets: inherit
needs: version
with:
ref: ${{ github.ref }}
version: ${{ needs.version.outputs.version }}
short_test: ${{ inputs.short_test || false }}
# We cannot run OIDC tests in the release workflow because it's not a PR and we don't have a
# fixed tag or branch to serve as entity type, and we don't have Github environments
# configured. See
# https://learn.microsoft.com/en-us/azure/active-directory/workload-identities/workload-identity-federation-create-trust?pivots=identity-wif-apps-methods-azp#github-actions
oidc_arm_client_id: ""
retention_days: 30
publish:
uses: ./.github/workflows/publish.yml
secrets: inherit
needs:
- version
- build_test
with:
ref: ${{ github.ref }}
version: ${{ needs.version.outputs.version }}
prerelease: true
# Skip creating the GH release draft because we never publish these prereleases.
# Push a prerelease tag instead if we want something that's publically visible.
publishGhRelease: false