-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 1.09 KB
/
update_enkakit_assets.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
name: Update EnkaKit Assets
on:
workflow_dispatch: {}
schedule:
- cron: '0 12 * * *'
jobs:
update:
runs-on: macOS-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Swift
uses: swift-actions/setup-swift@v2
- name: Update EnkaKit Assets
id: compare_shas
run: |
zsh ./Script/_assetUpdate4GI.sh
zsh ./Script/_assetUpdate4HSR.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-enkakit-assets-${{ github.run_number }}
base: main
title: "Update EnkaKit Asset"
body: |
This PR updates the generated EnkaKit Assets.
delete-branch: true
assignees: ShikiSuen
reviewers: ShikiSuen
team-reviewers: |
owners
maintainers