mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +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
old-commit-hash: ad00595ba5
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