File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,23 @@ jobs:
32
32
name : pypi-packages-${{ github.sha }}
33
33
path : dist
34
34
35
+ upload-package :
36
+ runs-on : ubuntu-20.04
37
+ needs : build-package
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ - uses : actions/download-artifact@v2
41
+ with :
42
+ name : pypi-packages-${{ github.sha }}
43
+ path : dist
44
+ - run : ls -lh dist/
45
+
35
46
- name : Upload to release
36
47
if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
37
- uses : svenstaro /upload-release-action @v2
48
+ uses : AButler /upload-release-assets @v2.0
38
49
with :
39
- repo_token : ${{ secrets.GITHUB_TOKEN }}
40
- file : dist/*
41
- tag : ${{ github.ref }}
42
- asset_name : packages
43
- overwrite : false
44
- file_glob : true
50
+ files : ' dist/*'
51
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
45
52
46
53
publish-package :
47
54
runs-on : ubuntu-20.04
52
59
with :
53
60
name : pypi-packages-${{ github.sha }}
54
61
path : dist
55
- - name : Show packages
56
- run : |
57
- ls -lh dist/
62
+ - run : ls -lh dist/
58
63
59
64
- name : Delay releasing
60
65
if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
You can’t perform that action at this time.
0 commit comments