Skip to content

Commit

Permalink
Install own code even when dependencies were cached
Browse files Browse the repository at this point in the history
  • Loading branch information
Baschdl committed Jan 30, 2024
1 parent 39ce640 commit 02493b2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/push_to_overleaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
cd ${{ github.workspace }}
cd ..
git clone ${{ secrets.OVERLEAF_GIT_CLONE_URL }} overleaf/
pwd
ls -lah
- name: Checkout python project on Github
uses: actions/checkout@v4
- name: Cache dependency
Expand All @@ -29,15 +27,15 @@ jobs:
run: |
cd ${{ github.workspace }}
python3 -m pip install --upgrade pip
- name: Install labproject
run: |
cd ${{ github.workspace }}
pip install -e ".[docs]"
- name: Run experiments and generate plots
run: |
cd ${{ github.workspace }}
python3 labproject/run.py
cd ..
pwd
ls -lah
ls -lah labproject/
cp labproject/plots/* overleaf/figures/
- name: Commit and push changes to Overleaf
run: |
Expand Down

0 comments on commit 02493b2

Please sign in to comment.