-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (23 loc) · 807 Bytes
/
ci-release.yml
File metadata and controls
29 lines (23 loc) · 807 Bytes
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
name: Release
on:
workflow_dispatch:
jobs:
static-analysis:
if: github.repository != 'mattdeform/MayaPythonProjectTemplate'
uses: ./.github/workflows/reusable-static-analysis.yml
tests:
if: github.repository != 'mattdeform/MayaPythonProjectTemplate'
uses: ./.github/workflows/reusable-maya-tests.yml
do_release:
if: github.repository != 'mattdeform/MayaPythonProjectTemplate'
needs: [tests]
uses: ./.github/workflows/reusable-semantic-release.yml
permissions:
contents: write
id-token: write
docs:
if: github.repository != 'mattdeform/MayaPythonProjectTemplate'
needs: [tests, do_release] # only build docs when release is successful
uses: ./.github/workflows/reusable-build-and-deploy-docs.yml
permissions:
contents: write