We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aad4c0 commit f87c077Copy full SHA for f87c077
.github/workflows/release.yml
@@ -17,6 +17,8 @@ jobs:
17
# Calculate SHA256 and check if build is needed
18
- name: Check if build is needed
19
id: check_build
20
+ env:
21
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
run: |
23
$sourceFile = "src/python/rag.py"
24
$md5File = "src.md5"
@@ -36,7 +38,7 @@ jobs:
36
38
$storedMD5 = Get-Content $md5File -ErrorAction Stop
37
39
echo "Stored MD5: $storedMD5"
40
- if ($currentMD5 -eq $storedMD5) {
41
+ if ($currentMD5.ToLower() -eq $storedMD5.ToLower()) {
42
echo "::notice::Source file unchanged - skipping build"
43
echo "build_needed=false" >> $env:GITHUB_OUTPUT
44
exit 0
0 commit comments