Skip to content

Commit eac8f1f

Browse files
committed
fix: 构建加log
1 parent 734eead commit eac8f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
if ($previous_sha256 -and $previous_sha256 -ne "0000000000000000000000000000000000000000") {
2929
$rag_path = "src/python/rag.py" -replace '\\', '/'
3030
echo "Checking if $rag_path exists in $previous_sha256"
31-
$file_exists = git cat-file -e "$previous_sha256:$rag_path" 2>$null
31+
$file_exists = git cat-file -e "${previous_sha256}:$rag_path" 2>$null
3232
$check_exit_code = $LASTEXITCODE
3333
3434
if ($check_exit_code -eq 0) {
35-
$previous_content = git show "$previous_sha256:$rag_path" -- 2>&1
35+
$previous_content = git show "${previous_sha256}:$rag_path" -- 2>&1
3636
$git_exit_code = $LASTEXITCODE
3737
$LASTEXITCODE = 0
3838
echo "Git show exit code: $git_exit_code"

0 commit comments

Comments
 (0)