diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0c6d664..5d37769 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -53,7 +53,7 @@ jobs: if: startsWith(github.event.ref, 'refs/tags/') run: | # 拷贝依赖 - macdeployqt bin/${targetName}.app -qmldir=. -verbose=1 -dmg + macdeployqt bin/release/${targetName}.app -qmldir=. -verbose=1 -dmg # tag 查询github-Release - name: queryRelease id: queryReleaseMacos @@ -126,6 +126,6 @@ jobs: uses: actions/upload-release-asset@v1.0.1 with: upload_url: ${{ env.uploadUrl }} - asset_path: ./bin/${{ env.targetName }}.dmg + asset_path: ./bin/release/${{ env.targetName }}.dmg asset_name: ${{ runner.os }}-${{ env.targetName }}.dmg asset_content_type: application/applefile \ No newline at end of file diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a48b1d4..faf758a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -88,7 +88,7 @@ jobs: # 创建文件夹 New-Item -ItemType Directory ${env:archiveName} # 拷贝exe - Copy-Item bin\${env:targetName} ${env:archiveName}\ + Copy-Item bin\release\${env:targetName} ${env:archiveName}\ # 拷贝依赖 windeployqt --qmldir . ${env:archiveName}\${env:targetName} # 打包zip