Skip to content

Commit

Permalink
fix cmakepath
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederoxDev committed Jul 28, 2024
1 parent 9d387a5 commit 29f5903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Extract and increment version number
id: increment_version
run: |
$filePath = "mod/CMakeLists.txt"
$filePath = "CMakeLists.txt"
$version_line = Select-String -Path $filePath -Pattern 'set\(MOD_VERSION "(.*)"\)'
if ($version_line -match 'set\(MOD_VERSION "(\d+)\.(\d+)\.(\d+)"\)') {
$major = [int]$matches[1]
Expand Down

0 comments on commit 29f5903

Please sign in to comment.