File tree Expand file tree Collapse file tree 4 files changed +40
-65
lines changed Expand file tree Collapse file tree 4 files changed +40
-65
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ release :
4+ types : [ published ]
5+ permissions :
6+ contents : read
7+
8+ jobs :
9+ build :
10+ name : Build distribution
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : 3.12
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install build
23+ - name : Build source distribution
24+ run : python -m build .
25+
26+ pypi-publish :
27+ name : Upload release to PyPI
28+ runs-on : ubuntu-latest
29+ environment :
30+ name : pypi
31+ url : https://pypi.org/p/shelloracle
32+ permissions :
33+ id-token : write
34+ steps :
35+ - name : Publish package distributions to PyPI
36+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1- name : Run Tests
1+ name : Tests
22on :
33 push :
44 pull_request :
5-
65concurrency :
76 group : test-${{ github.ref }}
87 cancel-in-progress : true
8+ permissions :
9+ contents : read
910
1011jobs :
1112 test :
12- name : test with ${{ matrix.py }}
13+ name : Test with ${{ matrix.py }}
1314 runs-on : ubuntu-latest
1415 strategy :
1516 fail-fast : false
You can’t perform that action at this time.
0 commit comments