Skip to content

Commit

Permalink
update to install-qt-action@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
itviewer committed Jan 11, 2025
1 parent 4197803 commit 280324a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- build: linux-latest
os: ubuntu-22.04
qt: 6.8.1
arch: gcc_64
arch: linux_gcc_64
qt-modules: 'qtwebsockets'
# qt-tools: 'tools_ifw'
installer-name: anylink-linux-amd64.run
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
name: Setup msvc
uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
# v3,aqtversion 为 2.11,不支持将工具添加到 $PATH,https://github.com/jurplel/install-qt-action
uses: jurplel/install-qt-action@v3
# https://github.com/jurplel/install-qt-action
uses: jurplel/install-qt-action@v4
with:
arch: ${{ matrix.arch }}
version: ${{ matrix.qt }} # https://download.qt.io/online/qtsdkrepository/
Expand All @@ -108,7 +108,6 @@ jobs:
install-deps: false
cache: false
cache-key-prefix: 'cache-qt'
aqtversion: '==3.1.*'
extra: '--base https://mirrors.ocf.berkeley.edu/qt' # https://download.qt.io/static/mirrorlist/
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -155,9 +154,9 @@ jobs:
cp vpnagent sslcon out/opt/anylink/bin
7z a installer/packages/root/data/anylink.7z ./out/opt/anylink/*
cd installer
wget -c -nv https://mirrors.ustc.edu.cn/qtproject/official_releases/qt-installer-framework/4.7.0/QtInstallerFramework-linux-x64-4.7.0.run
wget -c -nv https://mirrors.ustc.edu.cn/qtproject/official_releases/qt-installer-framework/4.8.1/QtInstallerFramework-linux-x64-4.8.1.run
chmod +x ./*.run
./QtInstallerFramework-linux-x64-4.7.0.run --al --da -c -t `pwd`/ifw in
./QtInstallerFramework-linux-x64-4.8.1.run --al --da -c -t `pwd`/ifw in
./ifw/bin/binarycreator --offline-only -c config/config.xml -p packages ${{ matrix.installer-name }}
chmod +x ./*.run
tar -zcvf "${{ github.workspace }}"/archive/${{ env.ARCHIVE_NAME }} ${{ matrix.installer-name }}
Expand Down

0 comments on commit 280324a

Please sign in to comment.