bugfix: change checkout version to v7
This commit is contained in:
@@ -9,11 +9,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Fetch tags
|
||||
run: |
|
||||
git fetch --prune --unshallow --tags
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure git
|
||||
run: |
|
||||
@@ -29,14 +27,6 @@ jobs:
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v8.3.2
|
||||
|
||||
- name: Count commits
|
||||
run: |
|
||||
echo "Commit count: $(git rev-list --count main)"
|
||||
echo "Tags available:"
|
||||
git tag
|
||||
echo "Remote tags available:"
|
||||
git ls-remote --tags
|
||||
|
||||
- name: Bump version
|
||||
run: |
|
||||
uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
|
||||
|
||||
Reference in New Issue
Block a user