-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (38 loc) · 1.09 KB
/
python_build.yaml
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: Develop Branch Action
on:
pull_request_target:
types:
- opened
branches:
- main
paths:
- 'unoplat-code-confluence/**'
- 'unoplat-code-confluence-query-engine/**'
- 'unoplat-code-confluence-commons/**'
jobs:
prepare-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
path: ['unoplat-code-confluence', 'unoplat-code-confluence-query-engine', 'unoplat-code-confluence-commons']
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ GITHUB.HEAD_REF }}
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.8.3"
- name: Check poetry version
run: poetry --version
- name: Install dependencies
working-directory: ${{ matrix.path }}
run: poetry install --no-root
- name: Build poetry
working-directory: ${{ matrix.path }}
run: poetry build -f wheel