bugfix: change checkout version to v7
This commit is contained in:
@@ -9,11 +9,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
- name: Fetch tags
|
fetch-depth: 0
|
||||||
run: |
|
|
||||||
git fetch --prune --unshallow --tags
|
|
||||||
|
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
@@ -29,14 +27,6 @@ jobs:
|
|||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v8.3.2
|
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
|
- name: Bump version
|
||||||
run: |
|
run: |
|
||||||
uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
|
uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user