From 271441cfaf8fef21d036a433f9d01e795359898b Mon Sep 17 00:00:00 2001 From: Frank de Jonge Date: Sun, 7 Apr 2024 21:56:08 +0200 Subject: [PATCH] Prep V4 subsplit publisher --- .github/workflows/publish-subsplits-v4.yml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/publish-subsplits-v4.yml diff --git a/.github/workflows/publish-subsplits-v4.yml b/.github/workflows/publish-subsplits-v4.yml new file mode 100644 index 000000000..bc68c6d6c --- /dev/null +++ b/.github/workflows/publish-subsplits-v4.yml @@ -0,0 +1,39 @@ +--- +name: Sub-Split Publishing V4 +on: + push: + branches: + - 4.x + create: + tags: + - '4.*' + delete: + tags: + - '4.*' + +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/use-github-token@1.1.0 + with: + authentication: 'frankdejonge:${{ secrets.PERSONAL_ACCESS_TOKEN }}' + user_name: 'Frank de Jonge' + user_email: 'info@frenky.net' + - name: Cache splitsh-lite + id: splitsh-cache + uses: actions/cache@v4 + with: + path: './.splitsh' + key: '${{ runner.os }}-splitsh' + - uses: frankdejonge/use-subsplit-publish@1.1.0 + with: + source-branch: '3.x' + config-path: './config.subsplit-publish.json' + splitsh-path: './.splitsh/splitsh-lite' + splitsh-version: 'v1.0.1'