mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
CI: Name Docs zip based on commit/tag
This commit is contained in:
parent
90f7a08237
commit
ea2cbb6f65
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
|
@ -14,6 +14,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Environment
|
||||
id: setup
|
||||
run: |
|
||||
echo "commitHash=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
- name: Bump Version Number
|
||||
shell: bash
|
||||
if: github.event_name == 'push'
|
||||
|
@ -45,7 +49,7 @@ jobs:
|
|||
pre_build_commands: 'pip install -Iv sphinx==5.1.1'
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: OBS Studio Documentation (HTML)
|
||||
name: 'OBS Studio Docs ${{ steps.setup.outputs.commitHash }}'
|
||||
path: |
|
||||
${{ runner.temp }}/_github_home/_build
|
||||
!${{ runner.temp }}/_github_home/_build/.doctrees
|
||||
|
|
Loading…
Reference in a new issue