File tree Expand file tree Collapse file tree 2 files changed +15
-34
lines changed
Expand file tree Collapse file tree 2 files changed +15
-34
lines changed Original file line number Diff line number Diff line change 55 types : [published]
66
77jobs :
8- build :
9- name : Build distribution 📦
10- runs-on : ubuntu-latest
11-
12- steps :
13- - uses : actions/checkout@v6
14- - name : Set up Python
15- uses : actions/setup-python@v6
16- with :
17- python-version : " 3.x"
18- - name : Install pypa/build
19- run : >-
20- python3 -m
21- pip install
22- build
23- --user
24- - name : Build a binary wheel and a source tarball
25- run : python3 -m build
26- - name : Store the distribution packages
27- uses : actions/upload-artifact@v5
28- with :
29- name : python-package-distributions
30- path : dist/
31- pypi-publish :
32- name : Upload release to PyPI
8+ run :
9+ name : Publish package
3310 if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
34- needs :
35- - build
3611 runs-on : ubuntu-latest
3712 environment :
3813 name : pypi
39- url : https://pypi.org/p/markusapi
4014 permissions :
4115 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
16+ contents : read
4217 steps :
43- - name : Download all the dists
44- uses : actions/download-artifact@v6
18+ - uses : actions/checkout@v6
19+ - name : Install uv
20+ uses : astral-sh/setup-uv@v7
4521 with :
46- name : python-package-distributions
47- path : dist/
48- - name : Publish distribution 📦 to PyPI
49- uses : pypa/gh-action-pypi-publish@release/v1
22+ enable-cache : true
23+ - name : Install Python
24+ run : uv python install
25+ - name : Build the package
26+ run : uv build
27+ - name : Publish
28+ run : uv publish
Original file line number Diff line number Diff line change 22
33## [ unreleased]
44
5+ - Adopt ` uv ` package manager and GitHub Actions for test and publish (#46 , #47 )
6+
57## [ 0.4.0]
68- Fixed bug preventing creating/updating marks spreadsheets with nested grade items (#40 )
79- Upgrade requests package (#43 )
You can’t perform that action at this time.
0 commit comments