foxmesh-ci.yml actions/checkout with all tags download
Build of FoxMesh / build-and-test (push) Successful in 2m55s
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:
1 Ursprung
b54a9fc714
Commit
0a1c781f0d
1 Datei geändert
+3
-1
@@ -24,11 +24,13 @@ jobs:
|
||||
- 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 }}."
|
||||
|
||||
# 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
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
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
|
||||
- name: Generate Dynamic Artifact Metadata
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren