From c3b6e00d4d5c572d024ae6c8c1d2d43f6b4ff562 Mon Sep 17 00:00:00 2001 From: Woomy Date: Wed, 1 Feb 2023 18:03:57 +0100 Subject: [PATCH] ci: Use softprops/action-gh-release actions/create-release is deprecated Signed-off-by: Woomymy --- .github/workflows/release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc5f864..0d8afa9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,15 +53,11 @@ jobs: run: echo tag=$(echo ${GITHUB_REF##*/}) >> "${GITHUB_OUTPUT}" - name: Create release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v1 with: - tag_name: ${{ steps.tag.outputs.tag}} - release_name: Release ${{ steps.tag.outputs.tag }} body_path: 'changelog.txt' - draft: false - + token: ${{ secrets.GITHUB_TOKEN }} + build-and-push-image: needs: ['compile', 'lint'] runs-on: ubuntu-latest