-
Notifications
You must be signed in to change notification settings - Fork 3.1k
43 lines (35 loc) · 1.08 KB
/
vcs-import.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: vcs-import
on:
pull_request:
workflow_dispatch:
jobs:
vcs-import:
runs-on: ubuntu-latest
container: ros:galactic
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install pip for rosdep
run: |
sudo apt-get -y update
sudo apt-get -y install python3-pip
- name: Register AutonomouStuff repository
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@v1
with:
rosdistro: galactic
- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
- name: Run vcs export
run: |
vcs export --exact src || true
- name: Run rosdep install
run: |
sudo apt-get -y update
rosdep update
DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro galactic