From 25fdd1ac4e7a8307dfd2a77a7dc5d08890e6b772 Mon Sep 17 00:00:00 2001 From: microcai Date: Mon, 14 Oct 2024 11:51:35 +0800 Subject: [PATCH] update readme --- .github/workflows/msvc-qt.yml | 16 +++++++++------- README.md | 8 ++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/msvc-qt.yml b/.github/workflows/msvc-qt.yml index 095f905..ddc911e 100644 --- a/.github/workflows/msvc-qt.yml +++ b/.github/workflows/msvc-qt.yml @@ -92,17 +92,19 @@ jobs: # Create archive of the pre-built Qt binaries - name: Package binaries - run: 7z a qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static.zip ..\qt-release + working-directory: ${{ runner.workspace }}/qt-release + run: 7z a ${{ github.workspace }}\\qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static.zip . - - name: Upload zip + - name: Release + uses: softprops/action-gh-release@v2.0.8 + if: startsWith(github.ref, 'refs/tags/') + with: + files: qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static.zip + + - name: Upload artifact uses: actions/upload-artifact@v4.4.3 with: overwrite: true name: qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static path: qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static.zip - - name: Release - uses: softprops/action-gh-release@v2.0.8 - if: startsWith(github.ref, 'refs/tags/') - with: - files: qt6_680_${{ matrix.arch }}-${{ matrix.msvc }}_static.zip diff --git a/README.md b/README.md index 994f5bf..308f3cc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # static-build-qt6 +一言以蔽之,利用 github action 编译静态 Qt 库给VS2022使用。 + +要下载编译好的库,点击 [releases](releases) + + a github action script to automatically build static qt library for use with msvc2022 + +to down prebuilt binary, visit [releases](releases) +