Skip to content

update leaderboard (#711) #55

update leaderboard (#711)

update leaderboard (#711) #55

Workflow file for this run

---
name: CD
on:
push:
branches:
- main
permissions:
id-token: write
contents: write
jobs:
release-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Setting up PDM
uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4
with:
python-version: "3.10"
architecture: x64
- name: Setting up nox
uses: wntrblm/nox@5656fcedc31a1ea37d016e4d94d00185330cc528 # 2024.04.15
with:
python-versions: "3.10"
- name: Configure Git Credentials
run: |
git config user.email "[email protected]"
git config user.name "GitHub Action"
- name: Bumping version
run: |
nox -s bump -- micro
git push origin main
- name: Build artifacts
run: |
nox -s build
- name: Test Build
run: |
python -m pip install dist/*.whl
eva --version
- name: Deploy Documentation
run: |
git fetch origin gh-pages:gh-pages
nox -s docs -- deploy --update-aliases main
git push origin gh-pages
- name: Publish package distributions to PyPI
run: nox -s publish -- --no-build
env:
PDM_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}