Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
coscmd upload -r packages/app/dist/ /app/download/${{ env.VERSION }}/ --include *.zip,*.exe,*.dmg,*.AppImage,*.deb,*.rpm --ignore "**/*/chrome.zip"