Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit 35f777f

Browse files
author
Kenji Miyake
committed
Fix CI
Signed-off-by: Kenji Miyake <[email protected]>
1 parent 82f8792 commit 35f777f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/build_and_test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- main
88
workflow_dispatch:
99

10+
env:
11+
BUILD_DEPEND_FILE: https://raw.githubusercontent.com/tier4/autoware.iv/main/build_depends.repos
12+
1013
jobs:
1114
build-and-test:
1215
runs-on: ubuntu-latest
@@ -22,13 +25,13 @@ jobs:
2225
with:
2326
required-ros-distributions: foxy
2427

25-
- name: Concat build_depends.repos
28+
- name: Create build_depends.repos
2629
run: |
27-
curl -sSL -H "Authorization: token ${{ secrets.REPO_TOKEN }}" https://raw.githubusercontent.com/tier4/autoware.iv/main/build_depends.repos | sed '1d' >> build_depends.repos
30+
curl -sSL -H "Authorization: token ${{ secrets.REPO_TOKEN }}" ${{ env.BUILD_DEPEND_FILE }} | sed '1d' > build_depends.repos
2831
2932
- name: Run action-ros-ci
3033
id: action_ros_ci_step
31-
uses: ros-tooling/action-ros-ci@add-private-repo-test
34+
uses: ros-tooling/action-ros-ci@master
3235
with:
3336
package-name: obstacle_stop_planner_refine
3437
target-ros2-distro: foxy

.github/workflows/code_metrics_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Create index page
4848
run: |
4949
cd pr-check
50-
tree -H "$GITHUB_PAGES_URL/pr-check" \
50+
tree -H "${{ env.GITHUB_PAGES_URL }}/pr-check" \
5151
-L 2 --noreport --charset utf-8 -T 'Index of code metrics' \
5252
-P "*.html" > index.html
5353

build_depends.repos

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)