Skip to content

Update Lua Submodule and Build #23

Update Lua Submodule and Build

Update Lua Submodule and Build #23

Workflow file for this run

name: Update Lua Submodule
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight UTC
workflow_dispatch: # Allow manual triggering of the workflow
jobs:
update_lua_submodule:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Update Lua submodule
run: |
git submodule update --remote --merge
- name: Install Clang
uses: egor-tensin/setup-clang@v1
- name: Configure and build with CMake
run: |
git submodule update --init --recursive --progress
ls
mkdir build && cd build
cmake ..
cmake --build .
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "Update Lua submodule"
git push