Skip to content

Update main.yml

Update main.yml #3

Workflow file for this run

on:
push:
branches:
- master
workflow_dispatch:
jobs:
update:
name: "Update client_files submodule"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
# Checkout the repository to the GitHub Actions runner
- uses: actions/checkout@v2
- name: Pull & update submodules recursively
run: |
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "actions@github.com"
git config user.name "GitHub Actions - update submodules"
git add --all
git commit -m "Update submodules" || echo "No changes to commit"
git push