mirror of
https://github.com/italicsjenga/actions-test.git
synced 2025-01-23 07:36:35 +11:00
fetchdepth 0 and show tagname
This commit is contained in:
parent
5edb8a3552
commit
4a3f1b5389
1 changed files with 4 additions and 2 deletions
6
.github/workflows/merge.yml
vendored
6
.github/workflows/merge.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
ref: refs/heads/main
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-tags: true
|
||||
fetch-depth: 0
|
||||
# fetch-depth: 0
|
||||
# - name: stinky but
|
||||
# run: git sparse-checkout disable; git checkout origin/main
|
||||
- name: deepen tree
|
||||
|
@ -23,4 +23,6 @@ jobs:
|
|||
# run: git checkout --progress --force -B main refs/remotes/origin/main
|
||||
- name: Get git describe for prerelease
|
||||
id: describe
|
||||
run: echo "tagname=pre-$(git describe --tags)" >> $GITHUB_OUTPUT
|
||||
run: echo "tagname=pre-$(git describe --tags)" >> $GITHUB_OUTPUT
|
||||
- name: show describe
|
||||
run: echo ${{ steps.describe.outputs.tagname }}
|
Loading…
Add table
Reference in a new issue