[Actions] Alternate option to modify file

This commit is contained in:
Ganesh Gore 2020-12-04 00:22:48 -07:00
parent d63dfa00b7
commit 8105a46f07
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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