diff options
author | elilchen <[email protected]> | 2023-02-12 00:48:38 +0800 |
---|---|---|
committer | elilchen <[email protected]> | 2023-02-12 00:48:38 +0800 |
commit | 7a0e300ff9d5190a31b49155df51dde5c0db2a29 (patch) | |
tree | 064916b7e8c0eb78f012cbcfbfa61567ebc32ada /.github | |
parent | b2f381913df6583f215e50faa28dc5e1333d40e6 (diff) | |
download | rustdesk-server-7a0e300ff9d5190a31b49155df51dde5c0db2a29.tar.gz rustdesk-server-7a0e300ff9d5190a31b49155df51dde5c0db2a29.zip |
UI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yaml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c227484..fdd221f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -95,7 +95,24 @@ jobs: with: command: build args: --release --all-features --target=x86_64-pc-windows-msvc - use-cross: true + use-cross: true + + - name: Install NSIS + run: | + iwr -useb get.scoop.sh -outfile 'install.ps1' + .\install.ps1 -RunAsAdmin + scoop update + scoop bucket add extras + scoop install nsis + + - run: rustup default nightly + - run: cargo build --release + working-directory: ./ui + - run: xcopy /y target\x86_64-pc-windows-msvc\release\*.exe ui\setup\bin\ + - run: xcopy /y ui\target\release\*.exe ui\setup\ + - run: mkdir ui\setup\logs + - run: makensis /V1 setup.nsi + working-directory: ./ui - name: Publish Artifacts uses: actions/upload-artifact@v3 @@ -104,7 +121,8 @@ jobs: path: | target\x86_64-pc-windows-msvc\release\hbbr.exe target\x86_64-pc-windows-msvc\release\hbbs.exe - target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe + target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe + ui\RustDeskServer.Setup.exe if-no-files-found: error # github (draft) release with all binaries |