Improve performance of Path
class (#605)
#744
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: 'Packages Split' | |
on: | |
push: | |
branches: | |
- 1.x | |
tags: | |
- '*' | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
jobs: | |
packages_split: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# define package to repository map | |
package: | |
- local_path: 'src/core/etl' | |
split_repository: 'etl' | |
- local_path: 'src/lib/array-dot' | |
split_repository: 'array-dot' | |
- local_path: 'src/lib/doctrine-dbal-bulk' | |
split_repository: 'doctrine-dbal-bulk' | |
- local_path: 'src/lib/parquet' | |
split_repository: 'parquet' | |
- local_path: 'src/lib/dremel' | |
split_repository: 'dremel' | |
- local_path: 'src/adapter/etl-adapter-amphp' | |
split_repository: 'etl-adapter-amphp' | |
- local_path: 'src/adapter/etl-adapter-avro' | |
split_repository: 'etl-adapter-avro' | |
- local_path: 'src/adapter/etl-adapter-chartjs' | |
split_repository: 'etl-adapter-chartjs' | |
- local_path: 'src/adapter/etl-adapter-csv' | |
split_repository: 'etl-adapter-csv' | |
- local_path: 'src/adapter/etl-adapter-doctrine' | |
split_repository: 'etl-adapter-doctrine' | |
- local_path: 'src/adapter/etl-adapter-elasticsearch' | |
split_repository: 'etl-adapter-elasticsearch' | |
- local_path: 'src/adapter/etl-adapter-meilisearch' | |
split_repository: 'etl-adapter-meilisearch' | |
- local_path: 'src/adapter/etl-adapter-google-sheet' | |
split_repository: 'etl-adapter-google-sheet' | |
- local_path: 'src/adapter/etl-adapter-http' | |
split_repository: 'etl-adapter-http' | |
- local_path: 'src/adapter/etl-adapter-json' | |
split_repository: 'etl-adapter-json' | |
- local_path: 'src/adapter/etl-adapter-logger' | |
split_repository: 'etl-adapter-logger' | |
- local_path: 'src/adapter/etl-adapter-parquet' | |
split_repository: 'etl-adapter-parquet' | |
- local_path: 'src/adapter/etl-adapter-reactphp' | |
split_repository: 'etl-adapter-reactphp' | |
- local_path: 'src/adapter/etl-adapter-text' | |
split_repository: 'etl-adapter-text' | |
- local_path: 'src/adapter/etl-adapter-xml' | |
split_repository: 'etl-adapter-xml' | |
steps: | |
- uses: actions/checkout@v2 | |
# no tag | |
- | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
uses: "danharrin/[email protected]" | |
with: | |
package_directory: '${{ matrix.package.local_path }}' | |
branch: 1.x | |
repository_organization: 'flow-php' | |
repository_name: '${{ matrix.package.split_repository }}' | |
user_name: "norberttech" | |
user_email: "[email protected]" | |
# with tag | |
- | |
if: "startsWith(github.ref, 'refs/tags/')" | |
uses: "danharrin/[email protected]" | |
with: | |
tag: ${GITHUB_REF#refs/tags/} | |
package_directory: '${{ matrix.package.local_path }}' | |
branch: 1.x | |
repository_organization: 'flow-php' | |
repository_name: '${{ matrix.package.split_repository }}' | |
user_name: "norberttech" | |
user_email: "[email protected]" |