1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-02-06 21:48:24 +08:00

update actions

This commit is contained in:
jared 2021-01-25 13:46:00 +08:00
parent 8b2ea21676
commit 8f660c97f4
3 changed files with 22 additions and 19 deletions

View File

@ -31,7 +31,7 @@ jobs:
qt_target: [android] qt_target: [android]
steps: steps:
- name: Install Qt 5.15.2 - name: Install Qt
uses: jurplel/install-qt-action@v2.10.0 uses: jurplel/install-qt-action@v2.10.0
with: with:
# Version of Qt to install # Version of Qt to install

View File

@ -31,7 +31,7 @@ jobs:
qt_target: [android] qt_target: [android]
qt_arch: [android_x86,android_armv7,android_arm64_v8a] qt_arch: [android_x86,android_armv7,android_arm64_v8a]
steps: steps:
- name: Install Qt 5.12.10 - name: Install Qt
uses: jurplel/install-qt-action@v2.10.0 uses: jurplel/install-qt-action@v2.10.0
with: with:
# Version of Qt to install # Version of Qt to install

View File

@ -48,20 +48,23 @@ jobs:
run: | run: |
qmake qmake
make make
# tag 打包 # 打包
# - name: package - name: package
# if: startsWith(github.event.ref, 'refs/tags/') run: |
# run: | # 拷贝依赖
# # 拷贝依赖 macdeployqt bin/release/${targetName}.app -qmldir=. -verbose=1 -dmg
# macdeployqt bin/release/${targetName}.app -qmldir=. -verbose=1 -dmg # 上传artifacts
- uses: actions/upload-artifact@v2
# # tag 上传Release with:
# - name: uploadRelease name: ${targetName}_${{matrix.qt_ver}}.zip
# if: startsWith(github.event.ref, 'refs/tags/') path: bin/release/${targetName}.app
# uses: svenstaro/upload-release-action@v2 # tag 上传Release
# with: - name: uploadRelease
# repo_token: ${{ secrets.GITHUB_TOKEN }} if: startsWith(github.event.ref, 'refs/tags/')
# file: bin/release/${{ env.targetName }}.dmg uses: svenstaro/upload-release-action@v2
# asset_name: ${{ env.targetName }}-${{ matrix.os }}-${{ matrix.qt_ver }}.dmg with:
# tag: ${{ github.ref }} repo_token: ${{ secrets.GITHUB_TOKEN }}
# overwrite: true file: bin/release/${{ env.targetName }}.dmg
asset_name: ${{ env.targetName }}_${{ matrix.os }}_${{ matrix.qt_ver }}.dmg
tag: ${{ github.ref }}
overwrite: true