Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Update upload-release.yml to enable Linux and MacOS release pipeline #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
5 changes: 2 additions & 3 deletions .github/workflows/upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,13 @@ jobs:
asset_name: TuneLab-${{ matrix.runtime }}-${{ github.ref_name }}.zip
asset_content_type: application/zip

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