Skip to content

Commit

Permalink
CI: Fetch all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Aug 25, 2024
1 parent 8df90f2 commit 656badb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

# Required for automatic versioning
# See https://github.com/actions/checkout/issues/1781
- name: Fetch all tags
run: |
git fetch --tags --force
git describe --always ${{ github.ref }}
- name: Set up Python 3.8
uses: actions/setup-python@v4.5.0
Expand Down

0 comments on commit 656badb

Please sign in to comment.