summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-02-12 11:19:28 -0800
committerKhem Raj <raj.khem@gmail.com>2022-02-12 13:16:01 -0800
commit636f54e8dc588ecf4865b118ab6dd4d8a60a5047 (patch)
treebac0a319f336cbebabcff7fdc58e884dca047d08
parentaa55429d72da14a16023a1a3ccc9f6f5338e4829 (diff)
downloadmeta-clang-636f54e8dc588ecf4865b118ab6dd4d8a60a5047.tar.gz
yoe.yml: Preserve .git file across rsync
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--.github/workflows/yoe.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/yoe.yml b/.github/workflows/yoe.yml
index 7713c48..e635990 100644
--- a/.github/workflows/yoe.yml
+++ b/.github/workflows/yoe.yml
@@ -15,6 +15,9 @@ jobs:
15 runs-on: [self-hosted, Linux] 15 runs-on: [self-hosted, Linux]
16 timeout-minutes: 720 16 timeout-minutes: 720
17 steps: 17 steps:
18 - name: Fetch Repo Name
19 id: repo-name
20 run: echo "::set-output name=value::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')"
18 - name: Checkout 21 - name: Checkout
19 uses: actions/checkout@v2 22 uses: actions/checkout@v2
20 with: 23 with:
@@ -27,8 +30,8 @@ jobs:
27 git checkout master 30 git checkout master
28 git pull 31 git pull
29 git submodule update --recursive --init 32 git submodule update --recursive --init
30 rm -rf sources/meta-clang 33 rm -rf sources/${{ steps.repo-name.outputs.value }}/*
31 rsync -av --progress --exclude="yoe" `pwd`/../ sources/meta-clang/ 34 rsync -av --progress --exclude="yoe" --exclude=".git" `pwd`/../ sources/${{ steps.repo-name.outputs.value }}/
32 - name: Setup 35 - name: Setup
33 run: | 36 run: |
34 cd yoe 37 cd yoe