Skip to content

Commit 3d09055

Browse files
Update upload-release.yml to enable Linux and MacOS release pipeline
1 parent 205d21e commit 3d09055

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/upload-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,13 @@ jobs:
100100
asset_name: TuneLab-${{ matrix.runtime }}-${{ github.ref_name }}.zip
101101
asset_content_type: application/zip
102102

103-
# 因为还没有解决跨平台的问题所以这个先关掉掉,等跨平台完成了就可以去掉执行条件里的 false 一并发布 linux 和 osx 的版本了
104103
- name: Upload - MacOS and Linux
105-
if: runner.os != 'Windows' && false
104+
if: runner.os != 'Windows'
106105
uses: actions/upload-release-asset@v1
107106
env:
108107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109108
with:
110109
upload_url: ${{ needs.create-release.outputs.upload_url }}
111110
asset_path: ./package.tar.gz
112111
asset_name: TuneLab-${{ matrix.runtime }}-${{ github.ref_name }}.tar.gz
113-
asset_content_type: application/gzip
112+
asset_content_type: application/gzip

0 commit comments

Comments
 (0)