Skip to content

Merge branch 'fix-cuotas-formato' #18

Merge branch 'fix-cuotas-formato'

Merge branch 'fix-cuotas-formato' #18

name: Sync Monorepo
on:
push:
tags:
- '*'
jobs:
provide_packages_json_tagged:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
# required for matrix of packages set
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
- uses: "ramsey/composer-install@v1"
- name: Install Monorepo-Builder
run: composer require symplify/monorepo-builder:11.0.8 --update-no-dev
# get package json list
-
id: output_data
run: echo "matrix=$(vendor/bin/monorepo-builder packages-json)" >> $GITHUB_OUTPUT
# this step is needed, so the output gets to the next defined job
outputs:
matrix: ${{ steps.output_data.outputs.matrix }}
split_monorepo_tagged:
needs: provide_packages_json_tagged
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
package: ${{fromJson(needs.provide_packages_json_tagged.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
-
# Uses an action in the root directory
name: Monorepo Split of ${{ matrix.package }}
uses: symplify/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}
package_directory: 'packages/${{ matrix.package }}'
repository_organization: 'thegreenter'
repository_name: '${{ matrix.package }}'
user_name: "giansalex"
user_email: "[email protected]"
branch: "master"