forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (29 loc) · 825 Bytes
/
Copy pathbuild_command.yml
File metadata and controls
29 lines (29 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build Command
on:
repository_dispatch:
types: [build-command]
jobs:
build_ci:
name: build ci
runs-on: ubuntu-20.04
timeout-minutes: 50
env:
BRANCH: "${{ github.event.client_payload.pull_request.head.ref }}-ci"
TARGET_DIR: tmp_op_ci
steps:
- uses: actions/checkout@v2
with:
submodules: true
lfs: true
ref: ${{ github.event.client_payload.pull_request.head.ref }}
- name: Prepare release files
run: |
chmod +x release/build_release_ci.sh
./release/build_release_ci.sh
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.REPO_PAT }}
branch: ${{ env.BRANCH }}
directory: ${{ env.TARGET_DIR }}
force: true