File tree Expand file tree Collapse file tree 1 file changed +22
-13
lines changed
Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -279,30 +279,39 @@ jobs:
279279 path : coverage
280280 if-no-files-found : error
281281
282- - name : setup GitHub Pages
283- if : matrix.name == 'macos'
284- uses : actions/configure-pages@v5
285-
286- - name : deploy coverage to GitHub Pages
287- if : matrix.name == 'macos'
288- uses : actions/deploy-pages@v3
289- id : deployment
290- with :
291- artifact_name : coverage
292-
293282294283 if : always()
295284 with :
296285 name : cloudsync-${{ matrix.name }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}
297286 path : dist/cloudsync.*
298287 if-no-files-found : error
299288
289+ deploy_coverage :
290+ name : deploy coverage
291+ runs-on : ubuntu-latest
292+ needs : build
293+
294+ steps :
295+
296+ - name : download coverage artifact
297+ 298+ with :
299+ name : coverage
300+
301+ - name : debug
302+ run : ls -lah
303+
304+ - name : setup GitHub Pages
305+ uses : actions/configure-pages@v5
306+
307+ - name : deploy coverage to GitHub Pages
308+ 309+
300310 release :
301311 runs-on : ubuntu-latest
302312 name : release
303313 needs : build
304- if : always()
305- # github.ref == 'refs/heads/main'
314+ if : github.ref == 'refs/heads/main'
306315
307316 env :
308317 GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments