-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 980 Bytes
/
ai-bot.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
39
40
41
42
name: Ai-bot
on:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: '$HOME'
steps:
# - name: 'Git – set working directory'
# run: echo "$HOME" >> $GITHUB_PATH
- name: 'Git – checkout'
uses: actions/checkout@v4
with:
submodules: recursive
# - name: 'Git – checkout suptools'
# uses: actions/checkout@v4
# with:
# repository: Sup2point0/suptools
# path: suptools
- name: 'Python – setup'
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: 'Python – install packages'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: 'Python – execute'
env:
LINK: ${{ secrets.LINK }}
# run: python disc/__main__.py
run: cd disc && python __main__.py