Fix Lumina.Excel branch in workflow (#2407)
Some checks are pending
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Tag Build / Tag Build (push) Successful in 2s

This commit is contained in:
Asriel 2025-09-11 10:06:07 -07:00 committed by GitHub
parent 5b5fdc0c10
commit a2b3fb901e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
name: Check for Submodule Changes name: Check for Submodule Changes
on: on:
schedule: schedule:
- cron: "0 0,12,18 * * *" - cron: "0 0,6,12,18 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -9,14 +9,17 @@ jobs:
name: Check ${{ matrix.submodule.name }} name: Check ${{ matrix.submodule.name }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false
matrix: matrix:
branches: [master] branches: [master]
submodule: submodule:
- name: ClientStructs - name: ClientStructs
path: lib/FFXIVClientStructs path: lib/FFXIVClientStructs
branch: main
branch-prefix: csupdate branch-prefix: csupdate
- name: Excel Schema - name: Excel Schema
path: lib/Lumina.Excel path: lib/Lumina.Excel
branch: master
branch-prefix: schemaupdate branch-prefix: schemaupdate
defaults: defaults:
@ -43,7 +46,7 @@ jobs:
git reset --hard origin/${{ matrix.branches }} git reset --hard origin/${{ matrix.branches }}
cd ${{ matrix.submodule.path }} cd ${{ matrix.submodule.path }}
git fetch git fetch
git reset --hard origin/main git reset --hard origin/${{ matrix.submodule.branch }}
cd ../.. cd ../..
git add ${{ matrix.submodule.path }} git add ${{ matrix.submodule.path }}
git commit --message "Update ${{ matrix.submodule.name }}" git commit --message "Update ${{ matrix.submodule.name }}"