-
-
Notifications
You must be signed in to change notification settings - Fork 276
28 lines (26 loc) · 707 Bytes
/
package.yml
File metadata and controls
28 lines (26 loc) · 707 Bytes
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
name: package
on:
push:
branches: [master, codecarbon_v3_rc]
jobs:
build-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Check versions
run: |
pip install -U pip requests
python3 .github/check_version.py -o
- name: Build pip package
run: |
pip install -U pip build
python3 -m build
- name: Archive Pypi artifacts
uses: actions/upload-artifact@v4
with:
name: pypi_dist
path: dist