Skip to content

Commit

Permalink
cmake: add timestamp to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Jun 11, 2024
1 parent a387624 commit 694cd16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:

- name: Get the version
id: get_version
continue-on-error: true
run: |
$git_info=$(git describe --tags HEAD)
$stamp=$(date +'%Y-%m-%d_%H%M%S')
echo "version=${git_info}" >> $env:GITHUB_OUTPUT
echo "stamp=${stamp}" >> $env:GITHUB_OUTPUT
- name: Setup Installation Location
run: |
Expand Down Expand Up @@ -107,7 +110,7 @@ jobs:
- name: Upload Build Results
uses: actions/upload-artifact@v4
with:
name: tesseract-${{ steps.get_version.outputs.version }}-VS2019_win64
name: tesseract-${{ steps.get_version.outputs.version }}-${{steps.get_version.outputs.stamp}}-VS2019_win64
path: ${{env.ILOC}}
retention-days: 5

Expand Down

0 comments on commit 694cd16

Please sign in to comment.