File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : check
2
2
on :
3
3
push :
4
+ tags-ignore : ["**"]
4
5
pull_request :
5
6
schedule :
6
7
- cron : " 0 8 * * *"
Original file line number Diff line number Diff line change
1
+ name : Release to PyPI
2
+ on :
3
+ push :
4
+ tags : ["*"]
5
+
6
+ jobs :
7
+ release :
8
+ runs-on : ubuntu-22.04
9
+ environment :
10
+ name : release
11
+ url : https://pypi.org/p/virtualenv
12
+ permissions :
13
+ id-token : write
14
+ steps :
15
+ - name : Setup python to build package
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : " 3.11"
19
+ - name : Install build
20
+ run : python -m pip install build
21
+ - uses : actions/checkout@v3
22
+ with :
23
+ fetch-depth : 0
24
+ - name : Build package
25
+ run : pyproject-build -s -w . -o dist
26
+ - name : Publish to PyPI
27
+ uses : pypa/gh-action-pypi-publish@v1.8.5
You can’t perform that action at this time.
0 commit comments