chore: Auto update by pre-commit hooks [skip changelog]

This commit is contained in:
pre-commit-ci[bot]
2024-07-19 03:47:54 +00:00
parent 686a929d1b
commit d84da5d01a
115 changed files with 17815 additions and 68882 deletions

View File

@@ -2,7 +2,7 @@ name: gen-changelog
on:
pull_request:
types:
types:
- opened
- reopened
- ready_for_review

View File

@@ -4,7 +4,6 @@ on:
pull_request_target:
types: [opened, edited, ready_for_review, reopened, synchronize]
jobs:
check_commit_name_in_pr:
if: ${{ !github.event.pull_request.merged && github.base_ref != 'master' }}
@@ -56,4 +55,4 @@ jobs:
});
core.setFailed(`Found ${invalidCommits.length} invalid commit(s):\n${invalidCommitNames.join("\n-------------------\n")}`);
}
}

View File

@@ -9,12 +9,12 @@ on:
limit:
description: Number of releases to fetch from MaaAssistantArknights, 2 at least
required: false
default: '31'
default: "31"
type: number
limit_2:
description: Number of releases to fetch from MaaRelease
required: false
default: '30'
default: "30"
type: number
env:

View File

@@ -37,7 +37,7 @@ jobs:
/gamedata/excel/gacha_table.json
/gamedata/excel/roguelike_topic_table.json
/gamedata/excel/activity_table.json
- name: Upload Official
uses: actions/upload-artifact@v4.3.4
with:
@@ -93,21 +93,21 @@ jobs:
env:
GH_TOKEN: ${{ secrets.MISTEOWORKFLOW }}
steps:
- name: Clone arknights-toolbox-update for Taiwan
uses: actions/checkout@v4
with:
show-progress: false
repository: arkntools/arknights-toolbox-update
ref: data-tw
path: ./excel
fetch-depth: 1
token: ${{ secrets.ARKNTOOLS_MAA_RESOURCE_UPDATER}}
- name: Clone arknights-toolbox-update for Taiwan
uses: actions/checkout@v4
with:
show-progress: false
repository: arkntools/arknights-toolbox-update
ref: data-tw
path: ./excel
fetch-depth: 1
token: ${{ secrets.ARKNTOOLS_MAA_RESOURCE_UPDATER}}
- name: Upload Official
uses: actions/upload-artifact@v4.3.4
with:
name: txwy
path: ./excel
- name: Upload Official
uses: actions/upload-artifact@v4.3.4
with:
name: txwy
path: ./excel
update-game-resources:
if: github.repository_owner == 'MaaAssistantArknights'
@@ -130,7 +130,7 @@ jobs:
path: |
./tools/ResourceUpdater/x64/Release/opencv_world4_maa.dll
./tools/ResourceUpdater/x64/Release/ResourceUpdater.exe
- name: Bootstrap MaaDeps
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
@@ -146,7 +146,7 @@ jobs:
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
MSBUILD tools/ResourceUpdater/ResourceUpdater.vcxproj /t:rebuild /p:Configuration="Release" /p:Platform="x64" /p:BuildProjectReferences=false /m
- name: Save ResourceUpdater.exe to cache
id: cache-save
if: always() && steps.cache-restore.outputs.cache-hit != 'true'

View File

@@ -34,10 +34,10 @@ jobs:
with:
show-progress: false
submodules: recursive
- name: Restore dependencies
run: dotnet restore
- name: Bootstrap MaaDeps
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -57,15 +57,15 @@ jobs:
- name: Run tests - YostarJP
run: |
.\x64\Debug\Sample.exe YostarJP
- name: Run tests - YostarEN
run: |
.\x64\Debug\Sample.exe YostarEN
- name: Run tests - YostarKR
run: |
.\x64\Debug\Sample.exe YostarKR
- name: Run tests - txwy
run: |
.\x64\Debug\Sample.exe txwy

View File

@@ -43,7 +43,7 @@ jobs:
with:
node-version: 20
cache: pnpm
cache-dependency-path: './website/pnpm-lock.yaml'
cache-dependency-path: "./website/pnpm-lock.yaml"
- name: Install dependencies
run: pnpm install --frozen-lockfile