Skip to content

Sub-split Publishing #2134

Sub-split Publishing

Sub-split Publishing #2134

Workflow file for this run

name: "Sub-split Publishing"
on: # yamllint disable-line rule:truthy
create:
tags:
- "*"
delete:
tags:
- "*"
push:
paths:
- "packages/**/*"
branches:
- "main"
- "1.x"
jobs:
publish_sub_splits:
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: "phpdoc-bot:${{ secrets.BOT_TOKEN }}"
user_name: "phpDocumentor Bot"
user_email: "info@phpdoc.org"
- name: "Cache splitsh-lite"
id: "splitsh-cache"
uses: "actions/cache@v4.1.2"
with:
path: "./.splitsh"
key: "${{ runner.os }}-splitsh-d-101"
- uses: "frankdejonge/use-subsplit-publish@1.1.0"
with:
source-branch: "${{ github.ref_name }}"
config-path: "./config.subsplit-publish.json"
splitsh-path: "./.splitsh/splitsh-lite"
splitsh-version: "v1.0.1"