Split Packages #160
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Split Packages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
tags: | |
- '*' | |
workflow_dispatch: ~ | |
jobs: | |
ci: | |
name: "Continuous Integration" | |
uses: ./.github/workflows/ci.yaml | |
split_monorepo: | |
name: "Split packages" | |
#needs: ci | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- { name: 'AdminUi' } | |
- { name: 'BootstrapAdminUi' } | |
- { name: 'TwigExtra' } | |
- { name: 'TwigHooks' } | |
- { name: 'UiTranslations' } | |
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: 'GSadee' | |
git_email: '[email protected]' | |
repository_owner: "Sylius" | |
repository_name: "${{ matrix.package.name }}" |