-
Notifications
You must be signed in to change notification settings - Fork 147
45 lines (41 loc) · 1.01 KB
/
mediaportal_jira.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
name: Mediaportal / Jira
on:
push:
# On Push to Master branch
branches:
- 'MP1-**'
# Ignore all Tags / Release
tags-ignore:
- '**'
workflow_call:
inputs:
retention-logs:
description: "Retention Period for Log files. Default is 1"
default: 3
required: false
type: number
retention-build:
description: "Retention Period for Setup files. Default is 90"
default: 3
required: false
type: number
jobs:
build:
name: Mediaportal Build
uses: ./.github/workflows/mediaportal.yml
with:
retention-logs: ${{ inputs.retention-logs || 3 }}
retention-build: ${{ inputs.retention-build || 3 }}
ci-status:
name: Status
runs-on: ubuntu-latest
needs:
- build
if: always()
steps:
- name: Success
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Failure
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1