forked from schnatterer/rooted-graphene
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 993 Bytes
/
release-multiple.yaml
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
name: Release multiple devices
on:
schedule:
- cron: '0 3 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Checking if a new version was released at all before starting the matrix would be more efficient, but depends on device
# So run the whole matrix as cron. One of the first checks is if there is a need for release at all.
build-devices:
strategy:
# When run concurrently, 422 might occur on new releases.
# To completely avoid those, a retry mechanisms would be necessary.
# It might be easier to build a loop into the bash script.
# For now, make the action run sequentially
max-parallel: 1
matrix:
include:
- device-id: oriole
magisk-preinit-device: metadata
uses: ./.github/workflows/release-single.yaml
secrets: inherit
with:
device-id: ${{ matrix.device-id }}
magisk-preinit-device: ${{ matrix.magisk-preinit-device }}