Skip to content

Commit

Permalink
Install in another step, use tee for log file
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Nov 13, 2024
1 parent e6965f0 commit 5d438da
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update-universes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ jobs:
with:
python-version: '3.x'

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
# FIXME: remove dry-run
- name: Update demo universe
env:
DATAGOUV_URL: https://demo.data.gouv.fr
DATAGOUV_API_KEY: ${{ secrets.DATAGOUV_API_KEY_DEMO }}
run: |
pip install --upgrade pip
pip install -r requirements.txt
python feed-universe.py universe-demo.yaml --dry-run > logs/run_log_demo.txt
python feed-universe.py universe-demo.yaml --dry-run | tee logs/run_log_demo.txt
- name: Commit Run Logs
run: |
Expand Down

0 comments on commit 5d438da

Please sign in to comment.