Skip to content

Merge pull request #274 from MediaPortal/MP1.33.Final-Bump_version_nu… #122

Merge pull request #274 from MediaPortal/MP1.33.Final-Bump_version_nu…

Merge pull request #274 from MediaPortal/MP1.33.Final-Bump_version_nu… #122

name: Mediaportal / Test Build
on:
push:
# On Push to Pre Release / Final Test branch
branches:
- 'MP1.**_Test**'
# 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: 7
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 || 7 }}
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