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