Skip to content

Update Specimen

Update Specimen #119

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