diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fdd5a4..96c2f80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,23 @@ jobs: with: name: qhot-${{ runner.os }} path: ${{ matrix.DEPLOY_PATH }} + + - name: Upload continuous to release + uses: svenstaro/upload-release-action@v2 + if: ${{ github.event_name != 'pull_request' }} + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ${{ matrix.DEPLOY_PATH }} + tag: continuous + overwrite: true + prerelease: true + + - name: Upload release + uses: svenstaro/upload-release-action@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ${{ matrix.DEPLOY_PATH }} + tag: ${{ github.ref }} + overwrite: true + prerelease: true