10 description: 'Release Version'
14 description: 'Upload documentation'
21 description: 'Release Version'
25 description: 'Upload documentation'
29 RELEASE_TASKS_USER_TOKEN:
30 description: "Secret used to check user permissions."
35 name: Build and Upload Release Doxygen
36 runs-on: ubuntu-latest
40 upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
43 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
45 - name: Setup Python env
46 uses: actions/setup-python@v5
49 cache-dependency-path: './llvm/docs/requirements.txt'
51 - name: Install Dependencies
54 sudo apt-get install -y \
60 pip3 install --user -r ./llvm/docs/requirements.txt
64 ./llvm/utils/release/build-docs.sh -release "${{ inputs.release-version }}" -no-sphinx
66 - name: Upload Doxygen
69 GITHUB_TOKEN: ${{ github.token }}
70 USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
72 ./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" --user-token "$USER_TOKEN" upload --files ./*doxygen*.tar.xz