mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fix Lumina.Excel branch in workflow
This commit is contained in:
parent
5b5fdc0c10
commit
4cd794e863
1 changed files with 5 additions and 2 deletions
7
.github/workflows/update-submodules.yml
vendored
7
.github/workflows/update-submodules.yml
vendored
|
|
@ -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 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue