Sub-split Publishing #2153
Workflow file for this run
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 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/[email protected]" | |
with: | |
authentication: "phpdoc-bot:${{ secrets.BOT_TOKEN }}" | |
user_name: "phpDocumentor Bot" | |
user_email: "[email protected]" | |
- name: "Cache splitsh-lite" | |
id: "splitsh-cache" | |
uses: "actions/[email protected]" | |
with: | |
path: "./.splitsh" | |
key: "${{ runner.os }}-splitsh-d-101" | |
- uses: "frankdejonge/[email protected]" | |
with: | |
source-branch: "${{ github.ref_name }}" | |
config-path: "./config.subsplit-publish.json" | |
splitsh-path: "./.splitsh/splitsh-lite" | |
splitsh-version: "v1.0.1" |