Skip to content

Commit a21937b

Browse files
authored
Update windows.yml
1 parent 087599d commit a21937b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ jobs:
3434
set year=%datetime:~0,4%
3535
set month=%datetime:~4,2%
3636
set day=%datetime:~6,2%
37-
set current_date=%year%%month%%day% >> $env::GITHUB_ENV
37+
echo current_date=%year%%month%%day% >> $GITHUB_ENV
3838
3939
echo Create git hash
40-
for /f %%i in ('git -C %GITHUB_WORKSPACE% rev-parse --short HEAD') do set git_hash=%%i >> $env::GITHUB_ENV
40+
for /f %%i in ('git -C %GITHUB_WORKSPACE% rev-parse --short HEAD') do set git_hash=%%i
41+
echo git_hash=%git_hash% >> $GITHUB_ENV
4142
4243
echo Create version
43-
set file_version=%current_date%_%git_hash% >> $env::GITHUB_ENV
44+
echo file_version=%current_date%_%git_hash% >> $GITHUB_ENV
4445
4546
echo Create a build directory
4647
cd ..\

0 commit comments

Comments
 (0)