mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 19:30:26 +08:00
fix nsis build
This commit is contained in:
parent
fcb826fa0d
commit
f0e1d6404d
14
.github/workflows/nsis.yml
vendored
14
.github/workflows/nsis.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
- name: Install Python 3.7 version
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.7'
|
||||
python-version: "3.7"
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Restoring submodules
|
||||
run: git submodule update --init
|
||||
@ -72,11 +72,10 @@ jobs:
|
||||
with:
|
||||
version: ${{ matrix.qt_version }}
|
||||
arch: ${{ matrix.qtarch }}
|
||||
mirror: 'http://mirrors.ocf.berkeley.edu/qt/'
|
||||
mirror: "http://mirrors.ocf.berkeley.edu/qt/"
|
||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
# =========================================================================================================
|
||||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Setup Ninja
|
||||
if: matrix.platform == 'windows-latest'
|
||||
uses: ashutoshvarma/setup-ninja@master
|
||||
with:
|
||||
# ninja version to download. Default: 1.10.0
|
||||
@ -84,18 +83,17 @@ jobs:
|
||||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Build preparation - Download Dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
curl -o ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z
|
||||
curl -o ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z
|
||||
curl -o ./libs/grpc-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/grpc-${{ matrix.arch }}-windows.7z
|
||||
curl -o ./libs/curl-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/curl-${{ matrix.arch }}-windows.7z
|
||||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies
|
||||
uses: DuckSoft/extract-7z-action@v1.0
|
||||
with:
|
||||
pathSource: ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z
|
||||
pathSource: ./libs/grpc-${{ matrix.arch }}-windows.7z
|
||||
pathTarget: ./libs
|
||||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies
|
||||
if: matrix.platform == 'windows-latest'
|
||||
uses: DuckSoft/extract-7z-action@v1.0
|
||||
with:
|
||||
pathSource: ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z
|
||||
pathSource: ./libs/curl-${{ matrix.arch }}-windows.7z
|
||||
pathTarget: ./libs
|
||||
# ========================================================================================================= Generate MakeFile and Build
|
||||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Generate Dependencies and Build
|
||||
|
Loading…
Reference in New Issue
Block a user