diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a02d08..724bee8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,7 +123,7 @@ jobs: - name: Upload Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' && matrix.arch == 'x64' + if: startsWith(github.ref, 'refs/tags/') with: body_path: "./release.txt" files: "./packages/app/dist/**.exe,./packages/app/dist/**.dmg,./packages/app/dist/**.AppImage,./packages/app/dist/**.zip,./packages/app/dist/**.deb,./packages/app/dist/**.rpm" @@ -141,4 +141,4 @@ jobs: if: runner.os == 'Linux' && matrix.arch == 'x64' # 每个打包成非安装包的文件夹下都会有,chrome.zip,这里要删除,只上传安装包文件,里面自带编译了 chrome.zip 内置谷歌浏览器 run: | - coscmd upload -r packages/app/dist/ /app/download/${{ env.VERSION }}/ --include *.zip,*.exe,*.dmg,*.AppImage,*.deb,*.rpm --ignore "**/*/chrome.zip" \ No newline at end of file + coscmd upload -r packages/app/dist/ /app/download/${{ env.VERSION }}/ --include *.zip,*.exe,*.dmg,*.AppImage,*.deb,*.rpm --ignore "**/*/chrome.zip"