-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.28 KB
/
publish-subsplits.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Publish Sub-Split
on:
push:
branches:
- main
create:
tags:
- '*'
delete:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
persist-credentials: false
- name: Generate RetrofitBot token
id: generate_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.RETROFIT_BOT_APP_ID }}
private_key: ${{ secrets.RETROFIT_BOT_PRIVATE_KEY }}
- name: Set RetrofitBot token
uses: frankdejonge/[email protected]
with:
authentication: 'RetrofitBot:${{ steps.generate_token.outputs.token }}'
name: github-actions[bot]
email: github-actions[bot]@users.noreply.github.com
- name: Cache splitsh-lite
id: splitsh-cache
uses: actions/[email protected]
with:
path: ./.splitsh
key: ${{ runner.os }}-splitsh-d-101
- name: Publish using splitish
uses: frankdejonge/[email protected]
with:
source-branch: main
config-path: ./config.subsplit-publish.json
splitsh-path: ./.splitsh/splitsh-lite
splitsh-version: v1.0.1