Skip to content

Commit e8d838e

Browse files
committed
update debug workflow
1 parent 296e4e8 commit e8d838e

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/debug.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,29 @@ jobs:
1414
steps:
1515

1616
- name: Configure git
17-
id: setup
1817
run: |
1918
git config --global init.defaultBranch main
20-
echo quarter="$(date +%Y)Q$(( ($(date +%-m)-1)/3+1 ))" \
21-
>> "${GITHUB_OUTPUT}"
19+
git config --global user.name "${{ secrets.BOT_NAME }}"
20+
git config --global user.email "${{ secrets.BOT_EMAIL }}"
2221
2322
- name: Checkout repository
2423
uses: actions/checkout@v4
2524
with:
2625
fetch-depth: 10
27-
# sparse-checkout: |
28-
# #data/${{ steps.setup.outputs.quarter }}/1-fetch
29-
# scripts/1-fetch
3026
token: ${{ secrets.BOT_TOKEN }}
3127

32-
- name: Configure git
33-
run: |
34-
git config user.name "${{ secrets.BOT_NAME }}"
35-
git config user.email "${{ secrets.BOT_EMAIL }}"
36-
3728
- name: Setup Python
3829
uses: actions/setup-python@v5
3930
with:
4031
python-version: '3.11'
4132

4233
- name: Install Python dependencies
4334
run: |
44-
pip install --upgrade pip
45-
pip install pipenv
35+
pip install --upgrade pip pipenv
36+
37+
- name: Sync Python modules
38+
run: |
4639
pipenv sync --system
47-
echo "PYTHONPATH=./scripts" >> "${GITHUB_ENV}"
4840
4941
- name: Fetch from Google Custom Search (GCS)
5042
run: |
@@ -53,4 +45,3 @@ jobs:
5345
env:
5446
GCS_DEVELOPER_KEY: ${{ secrets.GCS_DEVELOPER_KEY }}
5547
GCS_CX: ${{ secrets.GCS_CX }}
56-
GIT_PYTHON_TRACE: full

0 commit comments

Comments
 (0)