@@ -31,8 +31,19 @@ jobs:
build:
runs-on: ubuntu-latest
+
+ env:
+ FBT_NO_SYNC: "true"
+ TARGETS: f7
+ DEFAULT_TARGET: f7
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
- uses: actions/checkout@v3
with:
ref: "${{inputs.ref}}"