mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
CI: Name Docs zip based on commit/tag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user