ci: 打开自动更新资源,并且只在主仓库跑 (#4661)

This commit is contained in:
MistEO
2023-05-06 18:08:15 +08:00
committed by GitHub
parent dbde028329
commit fdec84ed46

View File

@@ -1,8 +1,8 @@
name: res-update-game
on:
# schedule:
# - cron: "*/20 * * * *"
schedule:
- cron: "*/20 * * * *"
workflow_dispatch:
inputs:
commit_message:
@@ -12,6 +12,7 @@ on:
jobs:
update-game-resources:
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: windows-latest
steps:
- uses: actions/checkout@v3