-
-
Notifications
You must be signed in to change notification settings - Fork 168
35 lines (32 loc) · 1.17 KB
/
packages_split.yaml
File metadata and controls
35 lines (32 loc) · 1.17 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
name: 'Packages Split'
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to checkout and split. Ignored if tag is specified. At least one required.'
required: false
type: string
tag:
description: 'Tag to checkout and split. Takes priority over branch. At least one required.'
required: false
type: string
jobs:
split_packages:
name: Split ${{ matrix.package.repository }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
-
directory: src/Component
repository: Resource
steps:
- name: Split package
uses: SyliusLabs/SplitPackageAction@v1.0
with:
directory: ${{ matrix.package.directory }}
repository: ${{ matrix.package.repository }}
branch: ${{ github.event.inputs.branch }}
tag: ${{ github.event.inputs.tag }}
token: ${{ secrets.SPLIT_TOKEN }}