Commit 5b28423 1 parent 0cb345d commit 5b28423 Copy full SHA for 5b28423
File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,33 @@ jobs:
32
32
- name : Build project for distribution
33
33
run : |
34
34
python -m build
35
+ - name : upload windows dists
36
+ uses : actions/upload-artifact@v3
37
+ with :
38
+ name : release-dists
39
+ path : dist/
40
+
41
+ pypi-publish :
42
+ runs-on : ubuntu-latest
43
+ needs :
44
+ - draft-a-release
45
+ permissions :
46
+ id-token : write
47
+ contents : write
48
+ steps :
49
+ - name : Retrieve release distributions
50
+ uses : actions/download-artifact@v3
51
+ with :
52
+ name : release-dists
53
+ path : dist
54
+ - name : Generate the artifacts
55
+ run : |
35
56
tar -zvcf artifacts.tar.gz dist
57
+ - name : Publish package distributions to PyPI
58
+ uses : pypa/gh-action-pypi-publish@release/v1
36
59
- name : Release
37
60
uses : softprops/action-gh-release@v1
38
61
with :
39
- draft : true
40
62
generate_release_notes : true
41
63
files : |
42
64
artifacts.tar.gz
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
- Added pylint ` line-too-long ` and ` invalid-name ` ([ #590 ] ( https://github.com/opensearch-project/opensearch-py/pull/590 ) )
7
7
- Added pylint ` pointless-statement ` ([ #611 ] ( https://github.com/opensearch-project/opensearch-py/pull/611 ) )
8
8
- Added a log collection guide ([ #579 ] ( https://github.com/opensearch-project/opensearch-py/pull/579 ) )
9
+ - Added GHA release ([ #614 ] ( https://github.com/opensearch-project/opensearch-py/pull/614 ) )
9
10
### Changed
10
11
### Deprecated
11
12
### Removed
You can’t perform that action at this time.
0 commit comments