Skip to content

git describe tag test #3

git describe tag test

git describe tag test #3

Workflow file for this run

name: Test git describe on a tag
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-20.04 # explicitly use 20.04, see commit 428c40018a
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-tags: false
- name: >-
WORKAROUND: Fetch tags that points to the revisions
checked-out(actions/checkout#1467)
run: |-
git fetch \
--prune \
--depth=1 \
--no-recurse-submodules
- name: Check git describe
run: |
git describe