Use tag ref as dynamic project number

This commit is contained in:
tooomm 2025-10-03 14:54:30 +02:00
parent a69bfb8cb8
commit 5d61cfb133
2 changed files with 9 additions and 2 deletions

View file

@ -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