Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Jun 25, 2024
1 parent 56aa034 commit 56edf85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .github/actions/get-modified-packages-docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ inputs:
description: ""
required: false
default: ${{ github.base_ref }}
docker-run:
description: ""
required: true
# docker-run:
# description: ""
# required: true

outputs:
modified-packages:
Expand All @@ -35,9 +35,12 @@ runs:
- name: Get modified packages
id: get-modified-packages
run: |
modified_packages=${{ inputs.docker-run }} \
docker run --shm-size 1G \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
-e GITHUB_ACTION_PATH \
-v ${GITHUB_ACTION_PATH}:${GITHUB_ACTION_PATH} \
ghcr.io/autowarefoundation/autoware:latest-prebuilt \
/bin/bash -c \
ls -alF ${GITHUB_ACTION_PATH} && echo " current dir: " && ls -alF
# ${GITHUB_ACTION_PATH}/get-modified-packages.sh origin/${{ inputs.base-ref }}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ on:
env:
CC: /usr/lib/ccache/gcc
CXX: /usr/lib/ccache/g++
DOCKER_RUN: docker run --shm-size 1G \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
ghcr.io/autowarefoundation/autoware:latest-prebuilt
# DOCKER_RUN: docker run --shm-size 1G \
# -v ${{ github.workspace }}:/workspace \
# -w /workspace

jobs:
build-and-test-differential:
Expand Down Expand Up @@ -58,8 +57,8 @@ jobs:
- name: Get modified packages
id: get-modified-packages
uses: ./.github/actions/get-modified-packages-docker
with:
docker-run: ${{ env.DOCKER_RUN }}
# with:
# docker-run: ${{ env.DOCKER_RUN }}
# - name: docker run
# run: docker run --shm-size 1G \
# -v ${{ github.workspace }}:/workspace \
Expand Down

0 comments on commit 56edf85

Please sign in to comment.