-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild-cron-libreelecgeneric.yml
More file actions
52 lines (46 loc) · 1.71 KB
/
Copy pathbuild-cron-libreelecgeneric.yml
File metadata and controls
52 lines (46 loc) · 1.71 KB
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
name: Build VDRSternELEC (LibreELEC Generic)
on:
workflow_dispatch:
schedule:
- cron: '01 0 * * 5'
jobs:
# This workflow is configured to run only in repository 'Zabrimus/VDRSternELEC'
# If you also want to run this workflow, then change or remove the condition in job 'cron'
buildtype:
runs-on: ubuntu-22.04
outputs:
type: ${{ steps.get.outputs.type }}
steps:
- name: Get type of build
shell: bash
id: get
run: |
if [ $(date +"%d") -lt 7 ]; then
echo "type=full" >> "$GITHUB_OUTPUT"
else
echo "type=tar" >> "$GITHUB_OUTPUT"
fi
cron_tar:
needs: [ buildtype ]
if: ${{ github.repository == 'Zabrimus/VDRSternELEC' && needs.buildType.outputs.type == 'tar' }}
uses: ./.github/workflows/build.yml
with:
target: "LibreELEC-Generic"
defaulttarget: "LibreELEC-12-x86_64-Generic LibreELEC-12-x86_64-GenericLegacy LibreELEC-13-x86_64-Generic LibreELEC-13-x86_64-GenericLegacy"
addons: "dvb-latest,channellogos,cefbrowser,yt-dlp"
extras: "easyvdr,remotetranscode"
extraparameter: "-releaseonly"
buildbranch: 'master'
secrets: inherit
cron_full:
needs: [ buildtype ]
if: ${{ github.repository == 'Zabrimus/VDRSternELEC' && needs.buildType.outputs.type == 'full' }}
uses: ./.github/workflows/build.yml
with:
target: "LibreELEC-Generic"
defaulttarget: "LibreELEC-12-x86_64-Generic LibreELEC-12-x86_64-GenericLegacy LibreELEC-13-x86_64-Generic LibreELEC-13-x86_64-GenericLegacy"
addons: "dvb-latest,channellogos,cefbrowser,yt-dlp"
extras: "easyvdr,remotetranscode"
extraparameter: "-"
buildbranch: 'master'
secrets: inherit