File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 xmake-version : latest
3535
36+ - name : Cache XMake
37+ uses : actions/cache@v3
38+ with :
39+ path : |
40+ ~/AppData/Local/.xmake
41+ ./.xmake
42+ key : ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}
43+
3644 - name : Get Release Version Tag
3745 if : github.event_name == 'release'
3846 run : echo "VERSION=${{ github.ref_name }}" | sed 's/=v/=/' >> $env:GITHUB_ENV
@@ -56,14 +64,19 @@ jobs:
5664 xmake f -p windows -m release -a x64 -y
5765 xmake -w -y
5866
67+ - name : Prepare Artifacts
68+ run : |
69+ mkdir artifacts
70+ cp build/windows/x64/release/PreLoader.dll artifacts
71+ cp build/windows/x64/release/PreLoader.lib artifacts
72+ cp build/windows/x64/release/PreLoader.pdb artifacts
73+ cp -r include artifacts
74+
5975 - name : Upload Artifacts
6076 uses : actions/upload-artifact@v3
6177 with :
6278 name : preloader-${{ env.VERSION }}-windows-amd64
63- path : |
64- build/windows/x64/release/PreLoader.dll
65- build/windows/x64/release/PreLoader.lib
66- build/windows/x64/release/PreLoader.pdb
79+ path : artifacts
6780
6881 upload-to-release :
6982 name : Upload to Release
Original file line number Diff line number Diff line change 88
99#include < Windows.h>
1010
11- #include < detours/detours.h>
11+ #include " detours/detours.h"
1212
1313namespace pl ::hook {
1414
You can’t perform that action at this time.
0 commit comments