File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed
Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -120,21 +120,6 @@ jobs:
120120 name : rtc-release-sdist
121121 path : livekit-rtc/dist/*.tar.gz
122122
123- publish :
124- name : Publish RTC release
125- needs : [build_wheels, make_sdist]
126- runs-on : ubuntu-latest
127- permissions :
128- id-token : write
129- if : startsWith(github.ref, 'refs/tags/rtc-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
130- steps :
131- - uses : actions/download-artifact@v4
132- with :
133- pattern : rtc-release-*
134- path : dist
135- merge-multiple : true
136-
137- - uses : pypa/gh-action-pypi-publish@release/v1
138123
139124 test :
140125 name : Test (${{ matrix.os }}, Python ${{ matrix.python-version }})
@@ -183,6 +168,22 @@ jobs:
183168 LIVEKIT_API_KEY : ${{ secrets.LIVEKIT_API_KEY }}
184169 LIVEKIT_API_SECRET : ${{ secrets.LIVEKIT_API_SECRET }}
185170
171+ publish :
172+ name : Publish RTC release
173+ needs : [build_wheels, make_sdist, test]
174+ runs-on : ubuntu-latest
175+ permissions :
176+ id-token : write
177+ if : startsWith(github.ref, 'refs/tags/rtc-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
178+ steps :
179+ - uses : actions/download-artifact@v4
180+ with :
181+ pattern : rtc-release-*
182+ path : dist
183+ merge-multiple : true
184+
185+ - uses : pypa/gh-action-pypi-publish@release/v1
186+
186187 docs :
187188 needs : [publish]
188189 uses : ./.github/workflows/build-docs.yml
You can’t perform that action at this time.
0 commit comments