diff options
-rw-r--r-- | .github/workflows/yoe.yml | 7 |
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 |