File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -91,27 +91,32 @@ jobs:
91
91
release :
92
92
needs : [package_tarballs, sdists]
93
93
runs-on : ubuntu-latest
94
- if : github.ref_type == 'tag'
95
94
permissions :
96
95
contents : write
97
96
discussions : write
98
97
steps :
99
98
- uses : actions/download-artifact@v4
100
99
with :
101
100
name : package_tarballs
101
+ path : tarballs
102
102
103
103
- uses : actions/download-artifact@v4
104
104
with :
105
105
name : dist
106
106
path : dist
107
107
108
+ - name : List files
109
+ run : |
110
+ ls -l -R dist
111
+ ls -l -R tarballs
112
+
108
113
- name : Create release
109
114
uses : softprops/action-gh-release@v2
110
115
with :
111
116
files : |
112
117
dist/*
113
- upstream /*
114
- token : ${{ secrets.RELEASE_CREATION_TOKEN }}
118
+ tarballs /*
119
+ token : ${{ github.ref_type == 'tag' && secrets.RELEASE_CREATION_TOKEN || 'FAIL' }}
115
120
generate_release_notes : true
116
121
prerelease : ${{ contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc') }}
117
122
discussion_category_name : announcements
You can’t perform that action at this time.
0 commit comments