fix(carbonserver,codecarbon) fix some issues with cli auth #1836
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: package | |
on: | |
push: | |
branches: [master] | |
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 |