Fix Worker crash when a job handler calls release() or delete() on th… #6
This file contains hidden or 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: | |
| - main | |
| - '*.x' | |
| tags: | |
| - 'v*.*' | |
| create: | |
| tags: | |
| - 'v*.*' | |
| delete: | |
| tags: | |
| - 'v*.*' | |
| 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: 'x-access-token:${{ secrets.REPO_PUSH_TOKEN }}' | |
| user_name: 'Ronan Giron' | |
| user_email: 'ElGigi@users.noreply.github.com' | |
| - 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: '${{ github.ref_name }}' | |
| config-path: './config.subsplit-publish.json' | |
| splitsh-path: './.splitsh/splitsh-lite' | |
| splitsh-version: 'v1.0.1' |