File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed
Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change 11name : Release Packages
22
33on :
4- create :
4+ push :
55 tags :
66 - ' v[0-9]+.[0-9]+.[0-9]+'
77
8+ # Needed to create release and upload assets
9+ permissions :
10+ contents : write
11+
812jobs :
913 build-deb :
1014 runs-on : [self-hosted, Linux, X64]
@@ -147,6 +151,36 @@ jobs:
147151 TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
148152 VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
149153 AS_RELEASE_VERSION=$VERSION_NUMBER bash scripts/release/python_manylinux_test.sh
154+
155+ publish :
156+ runs-on : [self-hosted, Linux]
157+ needs : [build-deb, build-rpm, test]
158+ strategy :
159+ matrix :
160+ arch : [X64, ARM64]
161+ steps :
162+ - name : Download deb packages
163+ uses : actions/download-artifact@v3
164+ with :
165+ name : dashinfer-deb
166+ path : release/
167+
168+ - name : Download rpm packages
169+ uses : actions/download-artifact@v3
170+ with :
171+ name : dashinfer-rpm-${{ matrix.arch }}
172+ path : release/
173+
174+ - name : Download python wheels
175+ uses : actions/download-artifact@v3
176+ with :
177+ name : python-manylinux-wheels-${{ matrix.arch }}
178+ path : release/
179+
180+ - name : Release all packages
181+ uses : softprops/action-gh-release@v2
182+ with :
183+ files : release/*
150184
151185
152186
You can’t perform that action at this time.
0 commit comments