forked from filamentphp/filament
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (55 loc) · 1.71 KB
/
monorepo-split.yml
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
53
54
55
56
57
name: monorepo-split
on:
push:
tags: '*'
jobs:
split-admin:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- id: previous-tag
uses: 'WyriHaximus/github-action-get-previous-tag@master'
- name: Monorepo Split of admin
uses: danharrin/monorepo-split-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
package_directory: 'packages/admin'
repository_organization: 'filamentphp'
repository_name: 'panels'
branch: 2.x
tag: ${{ steps.previous-tag.outputs.tag }}
user_name: 'Dan Harrin'
user_email: 'git@danharrin.com'
split-monorepo:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- forms
- notifications
- spatie-laravel-media-library-plugin
- spatie-laravel-settings-plugin
- spatie-laravel-tags-plugin
- spatie-laravel-translatable-plugin
- support
- tables
steps:
- uses: actions/checkout@v3
- id: previous-tag
uses: 'WyriHaximus/github-action-get-previous-tag@master'
- name: Monorepo Split of ${{ matrix.package }}
uses: danharrin/monorepo-split-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
package_directory: 'packages/${{ matrix.package }}'
repository_organization: 'filamentphp'
repository_name: '${{ matrix.package }}'
branch: 2.x
tag: ${{ steps.previous-tag.outputs.tag }}
user_name: 'Dan Harrin'
user_email: 'git@danharrin.com'