Merge pull request #230 from EventSaucePHP/dependabot/npm_and_yarn/do… #373
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: Publish Sub-splits | |
on: | |
push: | |
branches: | |
- main | |
create: | |
tags: | |
- '*' | |
delete: | |
tags: | |
- '*' | |
jobs: | |
publis_sub_splits: | |
runs-on: ubuntu-latest | |
name: Publish Sub-split | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
persist-credentials: 'false' | |
- uses: frankdejonge/[email protected] | |
with: | |
authentication: 'username:${{ secrets.PERSONAL_ACCESS_TOKEN }}' | |
user_name: 'Frank de Jonge' | |
user_email: '[email protected]' | |
- name: Cache splitsh-lite | |
id: splitsh-cache | |
uses: actions/cache@v3 | |
with: | |
path: './.splitsh' | |
key: '${{ runner.os }}-splitsh' | |
- uses: frankdejonge/[email protected] | |
with: | |
source-branch: 'main' | |
config-path: './config.subsplit-publish.json' | |
splitsh-path: './.splitsh/splitsh-lite' | |
splitsh-version: 'v1.0.1' |