Skip to content

Commit

Permalink
chore: fix actions sha_short
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox authored Mar 19, 2023
1 parent c5a54c2 commit dc5e592
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 @@ -55,7 +55,7 @@ jobs:
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: |
export sha_short=$(git rev-parse --short HEAD)
sed -r -i "s/#define\s+LITELOADER_VERSION_COMMIT_SHA\s+.*/#define LITELOADER_VERSION_COMMIT_SHA \$sha_short\r/" LiteLoader/include/liteloader/Version.h
sed -r -i "s/#define\s+LITELOADER_VERSION_COMMIT_SHA\s+.*/#define LITELOADER_VERSION_COMMIT_SHA $sha_short\r/" LiteLoader/include/liteloader/Version.h
shell: bash

- name: Configure CMake (MSVC)
Expand Down

0 comments on commit dc5e592

Please sign in to comment.