-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 1 KB
/
Copy pathbuild.yml
File metadata and controls
41 lines (34 loc) · 1 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build oracle-vecdb Python SDK
permissions:
contents: read
# Build job automatically on tags, e.g., v1.0.0, v2.1.3, etc.
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repository to access code and build artifacts
- name: Checkout repository
uses: actions/checkout@v4
# Set up Python for building the SDK
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
# Install build dependencies
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build
# Build vecdb Python SDK
- name: Build vecdb Python SDK
run: python -m build --sdist --wheel --outdir dist/
# Upload build artifacts for use in Publish workflow
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: vecdb-python-sdk-artifacts
path: dist/*