From 42a714f31cf5b6f924fe68d966189e2c278a11a6 Mon Sep 17 00:00:00 2001 From: orhun Date: Thu, 24 Jun 2021 02:08:05 +0300 Subject: [PATCH] chore(cd): use only one step for uploading releases --- .github/workflows/cd.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1f003f0255..6dabe308dc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -116,7 +116,6 @@ jobs: echo "::set-output name=RELEASE_BODY::${{ env.RELEASE_VERSION }}" fi - name: Upload the release - if: matrix.OS == 'ubuntu-18.04' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -124,16 +123,8 @@ jobs: file_glob: true tag: ${{ github.ref }} release_name: "Release v${{ env.RELEASE_VERSION }}" + overwrite: true body: "${{ steps.release.outputs.RELEASE_BODY }}" - - name: Upload the release - if: matrix.OS != 'ubuntu-18.04' - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: git-cliff-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}* - file_glob: true - tag: ${{ github.ref }} - release_name: "Release v${{ env.RELEASE_VERSION }}" publish-docker: name: Publish the Docker image