-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.28 KB
/
update_specimen.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
name: Update Specimen
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 Specimen Data
id: compare_shas
run: |
swift build -c release
rm -rf ./Sources/EnkaDBFiles/Resources/Specimen/ || true
.build/release/EnkaDBGenerator -HSR ./Sources/EnkaDBFiles/Resources/Specimen/HSR/
.build/release/EnkaDBGenerator -GI ./Sources/EnkaDBFiles/Resources/Specimen/GI/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-specimen-${{ github.run_number }}
base: main
title: "Update Specimen"
body: |
This PR updates the generated EnkaDB specimen.
delete-branch: true
assignees: ShikiSuen
reviewers: ShikiSuen
team-reviewers: |
owners
maintainers