File tree Expand file tree Collapse file tree 3 files changed +25
-29
lines changed Expand file tree Collapse file tree 3 files changed +25
-29
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,11 @@ jobs:
2424 python-version : " 3.10"
2525
2626 # ADJUST THIS: install all dependencies (including pdoc)
27- - run : pip install -r requirements.txt
2827 - run : pip install pdoc
2928 - run : pip install -e .
3029 # ADJUST THIS: build your documentation into docs/.
3130 # We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
32- - run : pdoc -o docs/ src/ptame --logo "https://github.com/IDT-ITI/P-TAME/blob/main/ptame_logo.png"
31+ - run : pdoc -o docs/ src/ptame --logo "https://github.com/IDT-ITI/P-TAME/blob/main/ptame_logo.png?raw=true "
3332
3433 - uses : actions/upload-pages-artifact@v3
3534 with :
Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+ on :
3+ push :
4+ tags :
5+ - " *.*.*"
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : " 3.10"
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ python -m pip install .[build]
22+
23+ - name : Publish package distributions to PyPI
24+ uses : pypa/gh-action-pypi-publish@release/v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments