File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build :
13+ name : Build the source tarball and the wheel
1314 runs-on : ubuntu-latest
1415 environment : release
1516 steps :
2930 path : dist
3031
3132 publish :
33+ name : Publish build artifacts to the PyPI
3234 needs : build
3335 runs-on : ubuntu-latest
3436 environment : release
3941 uses : actions/download-artifact@v3
4042 - name : Upload packages
4143 uses : pypa/gh-action-pypi-publish@release/v1
44+
45+ release :
46+ name : Create a GitHub release
47+ needs : build
48+ runs-on : ubuntu-latest
49+ permissions :
50+ contents : write
51+ steps :
52+ - uses : actions/checkout@v4
53+ - id : changelog
54+ uses : agronholm/release-notes@v1
55+ with :
56+ path : docs/versionhistory.rst
57+ - uses : ncipollo/release-action@v1
58+ with :
59+ body : ${{ steps.changelog.outputs.changelog }}
Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v4
1717 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v5
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 allow-prereleases : true
You can’t perform that action at this time.
0 commit comments