Skip to content

Commit

Permalink
Add split package
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Jan 2, 2025
1 parent 41b8234 commit 9d2e78d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/split_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Split Packages

on:
push:
branches:
- main
paths:
- 'src/**'
tags:
- '*'
workflow_dispatch: ~

jobs:
split_monorepo:
name: "Split packages"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- { name: 'Cqrs' }
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Split of ${{ matrix.package.name }}
uses: alphpaca/[email protected]
with:
package_path: 'src/${{ matrix.package.name }}'
personal_access_token: ${{ secrets.MONOPLUS_PAT }}
git_username: 'loic425'
git_email: '[email protected]'
repository_owner: "monofony"
repository_name: "${{ matrix.package.name }}"
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akawaka/symfony-packs",
"description": "Pack for Symfony projects",
"name": "monofony/symfony-packs",
"description": "Packs for Symfony projects",
"type": "project",
"license": "MIT",
"require": {
Expand Down

0 comments on commit 9d2e78d

Please sign in to comment.