@@ -16,38 +16,41 @@ jobs:
1616 runs-on : ubuntu-latest
1717 if : ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1818 steps :
19- - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
20- - uses : actions-ext/python/setup@main
21-
22- - name : Download dist from build
23- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
24- with :
25- pattern : dist-ubuntu-latest-3.11
26- merge-multiple : true
27- path : dist
28- run-id : ${{ github.event.workflow_run.id }}
29- github-token : ${{ secrets.GITHUB_TOKEN }}
30- repository : ${{ github.repository }}
31- if : github.event_name == 'workflow_run'
32-
33- - name : Install from wheel
34- run : |
35- uv pip install dist/*.whl
36- uv pip install dist/*.whl --target . --no-deps
37- uv pip install yardang
38- if : github.event_name == 'workflow_run'
39-
40- - name : Install from source (manual trigger)
41- run : |
42- make develop
43- uv pip install .
44- uv pip install yardang
45- if : github.event_name == 'workflow_dispatch'
46-
47- - run : yardang build
48-
49- - uses : peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
50- with :
51- publish_branch : gh-pages
52- github_token : ${{ secrets.GITHUB_TOKEN }}
53- publish_dir : docs/html
19+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
20+ with :
21+ persist-credentials : false
22+
23+ - uses : actions-ext/python/setup@4567028b4cf2be3739404cfd3521f0b9df98b6b1
24+
25+ - name : Download dist from build
26+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
27+ with :
28+ pattern : dist-ubuntu-latest-3.11
29+ merge-multiple : true
30+ path : dist
31+ run-id : ${{ github.event.workflow_run.id }}
32+ github-token : ${{ secrets.GITHUB_TOKEN }}
33+ repository : ${{ github.repository }}
34+ if : github.event_name == 'workflow_run'
35+
36+ - name : Install from wheel
37+ run : |
38+ uv pip install dist/*.whl
39+ uv pip install dist/*.whl --target . --no-deps
40+ uv pip install yardang
41+ if : github.event_name == 'workflow_run'
42+
43+ - name : Install from source (manual trigger)
44+ run : |
45+ make develop
46+ uv pip install .
47+ uv pip install yardang
48+ if : github.event_name == 'workflow_dispatch'
49+
50+ - run : yardang build
51+
52+ - uses : peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
53+ with :
54+ publish_branch : gh-pages
55+ github_token : ${{ secrets.GITHUB_TOKEN }}
56+ publish_dir : docs/html
0 commit comments