From 8105a46f07211e8446c03344af45ddb634e5a71c Mon Sep 17 00:00:00 2001 From: Ganesh Gore Date: Fri, 4 Dec 2020 00:22:48 -0700 Subject: [PATCH] [Actions] Alternate option to modify file --- .github/workflows/deploy_repo.yaml | 10 ++++++---- .github/workflows/sync_repo.sh | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_repo.yaml b/.github/workflows/deploy_repo.yaml index 034feb5..5e697d5 100644 --- a/.github/workflows/deploy_repo.yaml +++ b/.github/workflows/deploy_repo.yaml @@ -26,15 +26,17 @@ jobs: path: Caravel-SOFA-HD - name: Updating files - working-directory: ${{ runner.workspace }}/Caravel-SOFA-HD - run: source .github/workflows/sync_repo.sh + run: pwd && ls && cd SOFA-Chips && source ./.github/workflows/sync_repo.sh + + - name: View directory + run: pwd && ls - name: Commit files - working-directory: ${{ runner.workspace }}/Caravel-SOFA-HD run: | + cd Caravel-SOFA-HD + pwd && ls git config --local user.email "lnis.uofu@github.com" git config --local user.name "lnis.uofu" - cd Caravel-SOFA-HD git commit -m "Auto commit" -a - name: Push changes diff --git a/.github/workflows/sync_repo.sh b/.github/workflows/sync_repo.sh index b90ab23..7a517e7 100644 --- a/.github/workflows/sync_repo.sh +++ b/.github/workflows/sync_repo.sh @@ -1,5 +1,5 @@ -date >> testfile.txt +date >> ../Caravel-SOFA-HD/testfile.txt # MAGTYPE=mag magic -rcfile ${PDK_ROOT}/sky130A/libs.tech/magic/current/sky130A.magicrc -noc -dnull merge.tcl