mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
ci: Publish doxygen output to GitHub Pages
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -78,6 +78,10 @@ jobs:
|
|||||||
doxygen Doxyfile
|
doxygen Doxyfile
|
||||||
env:
|
env:
|
||||||
DOXY_SRC_ROOT: ..
|
DOXY_SRC_ROOT: ..
|
||||||
|
- name: Upload doxygen
|
||||||
|
uses: actions/upload-pages-artifact@v2
|
||||||
|
with:
|
||||||
|
path: docs/html/
|
||||||
|
|
||||||
buildLinux:
|
buildLinux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
@@ -447,6 +451,11 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
outputs:
|
outputs:
|
||||||
id: ${{ steps.create.outputs.release_id }}
|
id: ${{ steps.create.outputs.release_id }}
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: write
|
||||||
|
pages: write
|
||||||
|
environment: github-pages
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
@@ -475,6 +484,8 @@ jobs:
|
|||||||
swiftinstaller-macos-64-${{ needs.preBuild.outputs.version }}.dmg
|
swiftinstaller-macos-64-${{ needs.preBuild.outputs.version }}.dmg
|
||||||
xswiftbus-fat-allos-${{ needs.preBuild.outputs.version }}.7z
|
xswiftbus-fat-allos-${{ needs.preBuild.outputs.version }}.7z
|
||||||
swiftsymbols-allos-${{ needs.preBuild.outputs.version }}:swiftsymbols
|
swiftsymbols-allos-${{ needs.preBuild.outputs.version }}:swiftsymbols
|
||||||
|
- name: Publish doxygen
|
||||||
|
uses: actions/deploy-pages@v3
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|||||||
Reference in New Issue
Block a user