mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 12:23:55 +08:00
CI: use setup script for docs and simulator (#29434)
* use setup * dont pull lfs for docs * fix inputs * bool not supported * bool isnt supported
This commit is contained in:
7
.github/workflows/setup/action.yaml
vendored
7
.github/workflows/setup/action.yaml
vendored
@@ -1,10 +1,17 @@
|
||||
name: 'openpilot env setup'
|
||||
|
||||
inputs:
|
||||
git_lfs:
|
||||
description: 'Whether or not to pull the git lfs'
|
||||
required: false
|
||||
default: 'true'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
# do this after checkout to ensure our custom LFS config is used to pull from GitLab
|
||||
- shell: bash
|
||||
if: ${{ inputs.git_lfs == 'true' }}
|
||||
run: git lfs pull
|
||||
|
||||
# build cache
|
||||
|
||||
Reference in New Issue
Block a user