Merge pull request #1504 from php-api-clients/GitHubEnterprise-3.13/f… #1506
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: "Sub split clients to their respective repositories" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publis_sub_splits: | |
concurrency: subsplit | |
runs-on: ubuntu-latest | |
name: Publish Sub-split | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
persist-credentials: 'false' | |
- uses: frankdejonge/use-github-token@1.1.0 | |
with: | |
authentication: 'wyrihaximus:${{ secrets.SUBSPLIT_GITHUB_TOKEN }}' | |
user_name: 'Cees-Jan Kiewiet' | |
user_email: 'ceesjank@gmail.com' | |
- name: Cache splitsh-lite | |
id: splitsh-cache | |
uses: actions/cache@v4 | |
with: | |
path: './.splitsh' | |
key: '${{ runner.os }}-splitsh-d-101' | |
- uses: frankdejonge/use-subsplit-publish@main | |
with: | |
source-branch: 'main' | |
config-path: './etc/config.subsplit-publish.json' | |
splitsh-path: './.splitsh/splitsh-lite' | |
splitsh-version: 'v1.0.1' |