diff --git a/action.yaml b/action.yaml index 7606dc0..2354990 100644 --- a/action.yaml +++ b/action.yaml @@ -46,7 +46,11 @@ runs: - name: Setup Yaclog shell: bash - run: pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }} + run: | + [[ "$ACTION_REF" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_YACLOG="$ACTION_REF" + pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }} + env: + ACTION_REF: ${{ github.action_ref }} - name: Create New Release shell: bash