Sub-Split Publishing #765
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: | |
push: | |
branches: | |
- '[0-9]+.[0-9]+' | |
create: | |
tags: | |
- '*' | |
delete: | |
tags: | |
- '*' | |
jobs: | |
publish_subsplits: | |
runs-on: ubuntu-latest | |
name: Publish package sub-splits | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
persist-credentials: 'false' | |
- uses: frankdejonge/[email protected] | |
with: | |
authentication: 'alexander-schranz:${{ secrets.PERSONAL_ACCESS_TOKEN }}' | |
user_name: 'Alexander Schranz' | |
user_email: '[email protected]' | |
- name: Cache splitsh-lite | |
id: splitsh-cache | |
uses: actions/cache@v4 | |
with: | |
path: './.splitsh' | |
key: '${{ runner.os }}-splitsh' | |
- 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' |