From 3d09055563329df08571bf2c887e4282b3dfeaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=84=A1=E5=B8=B8?= <3142324836@qq.com> Date: Sat, 26 Oct 2024 23:35:43 +0800 Subject: [PATCH] Update upload-release.yml to enable Linux and MacOS release pipeline --- .github/workflows/upload-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index 66fce7e..eafef9e 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -100,9 +100,8 @@ 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 }} @@ -110,4 +109,4 @@ jobs: 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 \ No newline at end of file + asset_content_type: application/gzip