mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
# Conflicts: # .github/workflows/auto_pr_review.yaml # .github/workflows/docs.yaml # .github/workflows/repo-maintenance.yaml # .gitignore # docs/CARS.md # opendbc_repo # panda # pyproject.toml # selfdrive/controls/lib/longitudinal_planner.py # selfdrive/test/process_replay/ref_commit # tinygrad_repo
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: release
|
|
on:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build___nightly:
|
|
name: build __nightly
|
|
env:
|
|
ImageOS: ubuntu24
|
|
container:
|
|
image: ghcr.io/sunnypilot/sunnypilot-base:latest
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'sunnypilot/sunnypilot'
|
|
permissions:
|
|
checks: read
|
|
contents: write
|
|
steps:
|
|
- name: Install wait-on-check-action dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libyaml-dev
|
|
- name: Wait for green check mark
|
|
if: ${{ github.event_name == 'schedule' }}
|
|
uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc
|
|
with:
|
|
ref: master
|
|
wait-interval: 30
|
|
running-workflow-name: 'build __nightly'
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
check-regexp: ^((?!.*(build prebuilt).*).)*$
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
- name: Pull LFS
|
|
run: |
|
|
git config --global --add safe.directory '*'
|
|
git lfs pull
|
|
- name: Push __nightly
|
|
run: BRANCH=__nightly release/build_stripped.sh
|