mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-26 03:39:58 -07:00
Update workflows
This commit is contained in:
7
.github/workflows/check_submodules.yml
vendored
7
.github/workflows/check_submodules.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- "release*"
|
||||
- main
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
@@ -13,11 +13,6 @@ jobs:
|
||||
check_protobuf:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Decontaminate previous build leftovers'
|
||||
run: |
|
||||
if [ -d .git ]; then
|
||||
git submodule status || git checkout "$(git rev-list --max-parents=0 HEAD | tail -n 1)"
|
||||
fi
|
||||
|
||||
- name: 'Checkout code'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user