-
Notifications
You must be signed in to change notification settings - Fork 8
26 lines (24 loc) · 1.01 KB
/
Build-Vector-DB.yml
File metadata and controls
26 lines (24 loc) · 1.01 KB
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
name: Build Vector DB
on:
push:
branches: ["main"]
pull_request_target:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.8
uses: actions/setup-python@v6
with:
python-version: 3.8
- name: Install dependencies
run: |
sudo apt-get install nuget
nuget config -Set repositoryPath=${{ github.workspace }}/packages -configfile ${{ github.workspace }}/nuget.config
nuget.exe setapikey ${{ secrets.NUGET_API_KEY }} -source "https://pkgs.dev.azure.com/intelliTect/_packaging/EssentialCSharp/nuget/v3/index.json"
nuget.exe restore ${{ github.workspace }}/EssentialCSharp.Chat/packages.config -PackagesDirectory ${{ github.workspace }}/packages
python -m pip install --upgrade pip
pip install -r ${{ github.workspace }}/EssentialCSharp.Chat/requirements.txt
ls ${{ github.workspace }}/packages