From 9b3a47fac33713484d8977eb3c31c52c4bd1761a Mon Sep 17 00:00:00 2001 From: antony-jr Date: Sat, 18 Nov 2023 00:51:25 +0530 Subject: [PATCH] fix upload --- .github/workflows/deploy.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55deb6d..bc2b76d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,14 +54,11 @@ jobs: run: | cd ${{ github.workspace }}/output/ 7z a windows-Qt-5.15.11-${{ matrix.platform }}.zip QArchive - mkdir upload - cp windows-Qt-5.15.11-${{ matrix.platform }}.zip upload/ - - name: Upload Bundles - working-directory: ${{ github.workspace }}/output - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - wget "https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_windows_amd64.zip" - 7z x ghr_v0.16.2_windows_amd64.zip - ghr_v0.16.2_windows_amd64/ghr.exe -replace -delete -draft -prerelease prebuilt upload/ + - name: Upload + uses: ncipollo/release-action@v1 + with: + artifacts: "${{ github.workspace }}/output/*.zip" + tag: prebuilt + prerelease: true +