foxmesh-ci.yml actions/checkout with all tags download
Build of FoxMesh / build-and-test (push) Successful in 2m55s

Only with these https://gitea.com/actions/checkout usage, we can checkout all tags, for versioning.
Dieser Commit ist enthalten in:
tom committed 2026-10-21 01:23:22 +02:00
1 Ursprung b54a9fc714
Commit 0a1c781f0d
1 Datei geändert
+3 -1
+3 -1
Datei anzeigen
@@ -24,11 +24,13 @@ jobs:
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
# 1. Checkout the target branch # 1. Checkout the target branch, with fetch-depth: 0 and fetch-tags: true -> loading all tags
- name: Checkout Target branch - name: Checkout Target branch
uses: actions/checkout@v7 uses: actions/checkout@v7
with: with:
ref: ${{ github.event.inputs.target_branch || github.ref }} ref: ${{ github.event.inputs.target_branch || github.ref }}
fetch-depth: 0
fetch-tags: true
# 2. Extract Git and Date Metadata for the dynamic artifact filename # 2. Extract Git and Date Metadata for the dynamic artifact filename
- name: Generate Dynamic Artifact Metadata - name: Generate Dynamic Artifact Metadata