mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Use tag ref as dynamic project number
This commit is contained in:
parent
a69bfb8cb8
commit
5d61cfb133
2 changed files with 9 additions and 2 deletions
6
.github/workflows/documentation-build.yml
vendored
6
.github/workflows/documentation-build.yml
vendored
|
|
@ -11,12 +11,18 @@ on:
|
|||
- 'doxygen_style.css'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
COCKATRICE_REF: ${{ github.ref_name }} # Gives tag name if the commit is tagged, otherwise branch name
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Doxygen
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Print environment variable
|
||||
run: echo $COCKATRICE_REF
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue