Skip to content

Commit

Permalink
attempt fix nightly commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Imrglop committed Dec 1, 2024
1 parent aae8b9e commit 94a87cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/releasebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
- name: Fetch Commit Hash
run: echo "COMMIT_HASH=${{ github.sha }}" >> $GITHUB_ENV

- name: Set Additional Compiler Options
run: set ExternalCompilerOptions=/DCOMMIT_HASH=${{github.sha}}

- name: Build Latite
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:COMMIT_HASH=${{env.COMMIT_HASH}} ${{env.SOLUTION_FILE_PATH}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}

- name: Upload release DLL to artifacts
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions LatiteRewrite.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
<ModuleOutputFile>$(TargetName)</ModuleOutputFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
<AdditionalOptions>$(ExternalCompilerOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down

0 comments on commit 94a87cb

Please sign in to comment.