Files
dicebear--dicebear/.github/workflows/split-php-core.yml
T
2026-07-13 12:25:08 +08:00

42 lines
1.1 KiB
YAML

name: Split PHP Core
on:
push:
branches:
- '*.x'
tags:
- 'v*'
jobs:
split:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: danharrin/monorepo-split-github-action@v2.4.5
env:
GITHUB_TOKEN: ${{ secrets.SPLIT_TOKEN }}
with:
package_directory: src/php/core
repository_organization: dicebear
repository_name: dicebear-php
branch: ${{ github.ref_name }}
user_name: dicebear-bot
user_email: bot@dicebear.com
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: danharrin/monorepo-split-github-action@v2.4.5
env:
GITHUB_TOKEN: ${{ secrets.SPLIT_TOKEN }}
with:
package_directory: src/php/core
repository_organization: dicebear
repository_name: dicebear-php
tag: ${{ github.ref_name }}
user_name: dicebear-bot
user_email: bot@dicebear.com