CI configuration#
By default, CI workflows use shallow clone of the repo to speed up clone process.
But this leads to cloning repo without any tags, and thus generating version number like 0.0.1
.
To avoid this, please use following settings:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
variables:
GIT_DEPTH: 0