Merge pull request #291 from MediaPortal/MP1-5209-Force_EVR_instead_o… #142
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |