Skip to content

Merge branch '3.x' into wip/floor-plan #259

Merge branch '3.x' into wip/floor-plan

Merge branch '3.x' into wip/floor-plan #259

Workflow file for this run

name: Split Modules
on: [ push ]
jobs:
split_modules:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- path: 'admin'
repository: 'ti-module-admin'
- path: 'main'
repository: 'ti-module-main'
- path: 'system'
repository: 'ti-module-system'
steps:
- uses: actions/checkout@v2
# no tag
- if: "!startsWith(github.ref, 'refs/tags/')"
# Uses an action in the root directory
name: Module Split of app/${{ matrix.package.path }}
uses: danharrin/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
branch: ${GITHUB_REF#refs/heads/}
package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
user_name: "Sam Poyigi"
user_email: "[email protected]"
# with tag
- if: "startsWith(github.ref, 'refs/tags/')"
# Uses an action in the root directory
name: Modules Tagged Split of ${{ matrix.package.path }}
uses: danharrin/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}
package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
user_name: "Sam Poyigi"
user_email: "[email protected]"