aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-02-24 10:30:45 +0800
committerGitHub <noreply@github.com>2022-02-24 10:30:45 +0800
commit2aa62ea1107506ea12e008a2a21efe7456dc145f (patch)
tree081334c9b1b6014fabc4f2c941296c9ca29abc7e /.github/workflows/windows.yml
parentfa9aad9300fd5c1b7ae697881d787d015fa9ef24 (diff)
downloadyuescript-2aa62ea1107506ea12e008a2a21efe7456dc145f.tar.gz
yuescript-2aa62ea1107506ea12e008a2a21efe7456dc145f.tar.bz2
yuescript-2aa62ea1107506ea12e008a2a21efe7456dc145f.zip
Update windows.yml
Diffstat (limited to '')
-rw-r--r--.github/workflows/windows.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 8352aaa..e1f24f1 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -16,15 +16,24 @@ jobs:
16 - name: Setup msbuild 16 - name: Setup msbuild
17 uses: microsoft/setup-msbuild@v1 17 uses: microsoft/setup-msbuild@v1
18 - name: Windows build 18 - name: Windows build
19 run: msbuild Yuescript.sln /p:Configuration=release /p:Platform=x86 19 run: |
20 msbuild win-build\Yuescript.sln /p:Configuration=release /p:Platform=x86
21 msbuild win-build\Yuescript.sln /p:Configuration=release /p:Platform=x64
20 - name: pack 22 - name: pack
21 if: startsWith(github.ref, 'refs/tags/') 23 if: startsWith(github.ref, 'refs/tags/')
22 run: (cd bin\windows\Release && 7z a ..\..\..\yue-windows-x86.7z yue.exe) 24 run: |
25 (cd bin\windows\Win32\Release && 7z a ..\..\..\..\yue-windows-x86.7z yue.exe)
26 (cd bin\windows\x64\Release && 7z a ..\..\..\..\yue-windows-x64.7z yue.exe)
27 (cd bin\windows\Win32\Release && 7z a ..\..\..\..\yue-windows-x86-lua51-dll.7z yue.dll)
28 (cd bin\windows\x64\Release && 7z a ..\..\..\..\yue-windows-x64-lua51-dll.7z yue.dll)
23 - name: release 29 - name: release
24 uses: softprops/action-gh-release@v1 30 uses: softprops/action-gh-release@v1
25 if: startsWith(github.ref, 'refs/tags/') 31 if: startsWith(github.ref, 'refs/tags/')
26 with: 32 with:
27 files: | 33 files: |
28 yue-windows-x86.7z 34 yue-windows-x86.7z
35 yue-windows-x64.7z
36 yue-windows-x86-lua51-dll.7z
37 yue-windows-x64-lua51-dll.7z
29 env: 38 env:
30 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 39 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}