-
-
Notifications
You must be signed in to change notification settings - Fork 339
38 lines (35 loc) · 1.16 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test workflow
on:
workflow_dispatch:
jobs:
calculate-and-send:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ vars.REPOSITORY }}
ref: ${{ vars.REF }}
- name: Setup uv
uses: astral-sh/setup-uv@v3
with:
version: '0.5.4'
- name: Run script
env:
ZOTERO_ID: ${{ secrets.ZOTERO_ID }}
ZOTERO_KEY: ${{ secrets.ZOTERO_KEY }}
ZOTERO_IGNORE: ${{ vars.ZOTERO_IGNORE }}
ARXIV_QUERY: ${{ secrets.ARXIV_QUERY }}
SEND_EMPTY: ${{ vars.SEND_EMPTY }}
SMTP_SERVER: ${{ secrets.SMTP_SERVER }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SENDER: ${{ secrets.SENDER }}
RECEIVER: ${{ secrets.RECEIVER }}
SENDER_PASSWORD: ${{ secrets.SENDER_PASSWORD }}
MAX_PAPER_NUM: ${{ secrets.MAX_PAPER_NUM }}
USE_LLM_API: ${{ secrets.USE_LLM_API }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }}
MODEL_NAME: ${{ secrets.MODEL_NAME }}
run: |
uv run main.py --debug