diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-02-24 10:38:33 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-02-24 10:38:33 +0800 |
| commit | 47b1ffe8e36343ca10539427f3c64a56e0ca13b9 (patch) | |
| tree | 3ce83fe5043ef09fb116f0708aa7fe4ac4cc29de | |
| parent | 4d00b7903d8cd076d12acf1daa312efc3fcac74c (diff) | |
| parent | 2aa62ea1107506ea12e008a2a21efe7456dc145f (diff) | |
| download | yuescript-47b1ffe8e36343ca10539427f3c64a56e0ca13b9.tar.gz yuescript-47b1ffe8e36343ca10539427f3c64a56e0ca13b9.tar.bz2 yuescript-47b1ffe8e36343ca10539427f3c64a56e0ca13b9.zip | |
Merge branch 'main' of https://github.com/pigpigyyy/Yuescript
| -rw-r--r-- | .github/workflows/windows.yml | 13 |
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 }} |
