From 260f3156d2b96252497c683d10f80bacc792cebf Mon Sep 17 00:00:00 2001 From: Hien To Date: Mon, 29 Jul 2024 14:26:10 +0700 Subject: [PATCH] Add exe to release for winget --- .github/workflows/cortex-build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/cortex-build.yml b/.github/workflows/cortex-build.yml index c43c465e9..5b62f859d 100644 --- a/.github/workflows/cortex-build.yml +++ b/.github/workflows/cortex-build.yml @@ -407,6 +407,17 @@ jobs: asset_name: cortex-installer-${{ needs.create-draft-release.outputs.version }}-${{ matrix.name }}-${{ matrix.os }}.tar.gz asset_content_type: application/gzip + - name: Upload Cortex Installer + uses: actions/upload-release-asset@v1.0.1 + if: runner.os == 'Windows' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ needs.create-draft-release.outputs.upload_url }} + asset_path: ./cortex-js/setup.exe + asset_name: cortex-installer-${{ needs.create-draft-release.outputs.version }}-${{ matrix.name }}-${{ matrix.os }}.exe + asset_content_type: application/octet-stream + - uses: actions/upload-release-asset@v1.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}