Skip to content

Commit 694cd16

Browse files
committed
cmake: add timestamp to artifacts
1 parent a387624 commit 694cd16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cmake-win64.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ jobs:
2626

2727
- name: Get the version
2828
id: get_version
29+
continue-on-error: true
2930
run: |
3031
$git_info=$(git describe --tags HEAD)
32+
$stamp=$(date +'%Y-%m-%d_%H%M%S')
3133
echo "version=${git_info}" >> $env:GITHUB_OUTPUT
34+
echo "stamp=${stamp}" >> $env:GITHUB_OUTPUT
3235
3336
- name: Setup Installation Location
3437
run: |
@@ -107,7 +110,7 @@ jobs:
107110
- name: Upload Build Results
108111
uses: actions/upload-artifact@v4
109112
with:
110-
name: tesseract-${{ steps.get_version.outputs.version }}-VS2019_win64
113+
name: tesseract-${{ steps.get_version.outputs.version }}-${{steps.get_version.outputs.stamp}}-VS2019_win64
111114
path: ${{env.ILOC}}
112115
retention-days: 5
113116

0 commit comments

Comments
 (0)