vcpkg
This commit is contained in:
4
.github/workflows/generator-windows-x86.yml
vendored
4
.github/workflows/generator-windows-x86.yml
vendored
@@ -351,7 +351,7 @@ jobs:
|
|||||||
url: ${{ env.STATUS_URL }}
|
url: ${{ env.STATUS_URL }}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "50% complete, this step takes about 5 minutes, be patient."}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "50% complete"}'
|
||||||
|
|
||||||
- name: Build rustdesk
|
- name: Build rustdesk
|
||||||
id: build
|
id: build
|
||||||
@@ -396,7 +396,7 @@ jobs:
|
|||||||
url: ${{ env.STATUS_URL }}
|
url: ${{ env.STATUS_URL }}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "70% complete, this step takes about 5 minutes, be patient."}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "70% complete"}'
|
||||||
|
|
||||||
- name: zip dlls
|
- name: zip dlls
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
4
.github/workflows/generator-windows.yml
vendored
4
.github/workflows/generator-windows.yml
vendored
@@ -475,7 +475,7 @@ jobs:
|
|||||||
url: ${{ env.STATUS_URL }}
|
url: ${{ env.STATUS_URL }}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "50% complete, this step takes about 5 minutes, be patient."}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "50% complete"}'
|
||||||
|
|
||||||
- name: Build rustdesk
|
- name: Build rustdesk
|
||||||
run: |
|
run: |
|
||||||
@@ -565,7 +565,7 @@ jobs:
|
|||||||
url: ${{ env.STATUS_URL }}
|
url: ${{ env.STATUS_URL }}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
customHeaders: '{"Content-Type": "application/json"}'
|
customHeaders: '{"Content-Type": "application/json"}'
|
||||||
data: '{"uuid": "${{ env.uuid }}", "status": "70% complete, this step takes about 5 minutes, be patient."}'
|
data: '{"uuid": "${{ env.uuid }}", "status": "70% complete"}'
|
||||||
|
|
||||||
- name: zip dlls
|
- name: zip dlls
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
5
.github/workflows/vcpkg.yml
vendored
5
.github/workflows/vcpkg.yml
vendored
@@ -35,11 +35,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --filter=blob:none --sparse https://github.com/rustdesk/rustdesk.git rustdesk_repo
|
git clone --filter=blob:none --sparse https://github.com/rustdesk/rustdesk.git rustdesk_repo
|
||||||
cd rustdesk_repo
|
cd rustdesk_repo
|
||||||
# Added vcpkg-configuration.json to the list
|
git sparse-checkout set res/vcpkg
|
||||||
git sparse-checkout set res/vcpkg vcpkg.json vcpkg-configuration.json
|
git checkout master -- vcpkg.json vcpkg-configuration.json || git checkout main -- vcpkg.json vcpkg-configuration.json
|
||||||
cd ..
|
cd ..
|
||||||
cp rustdesk_repo/vcpkg.json .
|
cp rustdesk_repo/vcpkg.json .
|
||||||
# Copy configuration if it exists
|
|
||||||
[ -f rustdesk_repo/vcpkg-configuration.json ] && cp rustdesk_repo/vcpkg-configuration.json .
|
[ -f rustdesk_repo/vcpkg-configuration.json ] && cp rustdesk_repo/vcpkg-configuration.json .
|
||||||
mkdir -p res
|
mkdir -p res
|
||||||
cp -r rustdesk_repo/res/vcpkg ./res/
|
cp -r rustdesk_repo/res/vcpkg ./res/
|
||||||
|
|||||||
Reference in New Issue
Block a user