Skip to content

checkoutByTagBug Demo #4

checkoutByTagBug Demo

checkoutByTagBug Demo #4

Workflow file for this run

name: checkoutByTagBug
run-name: checkoutByTagBug Demo
on: workflow_dispatch
jobs:
demonstrateBug:
runs-on: ubuntu-latest
steps:
- name: checkoutWithTagsBug
uses: actions/checkout@v4
with:
fetch-tags: true
- name: showRefs
shell: bash
run: |
echo "As checked out by checkout@v4:"
git show-ref
echo
git fetch --tags --force
echo "After git fetch --tags --force:"
git show-ref