From 2d4e7e8b615c30d03ba48e622f5b7b253fe59604 Mon Sep 17 00:00:00 2001 From: Slach Date: Sun, 28 Jan 2024 15:50:39 +0400 Subject: [PATCH] return `softprops/action-gh-release@v1` until https://github.com/ncipollo/release-action/issues/406 will resolve --- .github/workflows/release.yaml | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a386a811..f535944b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -95,30 +95,30 @@ jobs: awk '/^# / {s++} s == 1 {print}' ChangeLog.md > /tmp/release_notes.md echo "path=/tmp/release_notes.md" >> $GITHUB_OUTPUT + # @todo wait when resolve https://github.com/ncipollo/release-action/issues/406 - name: Create release id: create_release - uses: ncipollo/release-action@v1 + uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - allowUpdates: true - artifactErrorsFailBuild: true - tag: v${{ steps.docker_tag.outputs.docker_tag }} + tag_name: v${{ steps.docker_tag.outputs.docker_tag }} name: ${{ steps.docker_tag.outputs.docker_tag }} - bodyFile: ${{ steps.release_notes.outputs.path }} + body_path: ${{ steps.release_notes.outputs.path }} draft: true - artifacts: | - ${{ steps.make_packages.outputs.rpm_amd64 }}, - ${{ steps.make_packages.outputs.rpm_arm64 }}, - ${{ steps.make_packages.outputs.deb_amd64 }}, - ${{ steps.make_packages.outputs.deb_arm64 }}, - ${{ steps.make_packages.outputs.tgz_linux_amd64 }}, - ${{ steps.make_packages.outputs.tgz_linux_arm64 }}, - ${{ steps.make_packages.outputs.tgz_darwin_amd64 }}, - ${{ steps.make_packages.outputs.tgz_darwin_arm64 }}, - ${{ steps.make_packages.outputs.tgz_linux_amd64_fips }}, - ${{ steps.make_packages.outputs.tgz_linux_arm64_fips }}, -# ${{ steps.make_packages.outputs.tgz_darwin_amd64_fips }}, -# ${{ steps.make_packages.outputs.tgz_darwin_arm64_fips }}, + fail_on_unmatched_files: true + files: | + ${{ steps.make_packages.outputs.rpm_amd64 }} + ${{ steps.make_packages.outputs.rpm_arm64 }} + ${{ steps.make_packages.outputs.deb_amd64 }} + ${{ steps.make_packages.outputs.deb_arm64 }} + ${{ steps.make_packages.outputs.tgz_linux_amd64 }} + ${{ steps.make_packages.outputs.tgz_linux_arm64 }} + ${{ steps.make_packages.outputs.tgz_darwin_amd64 }} + ${{ steps.make_packages.outputs.tgz_darwin_arm64 }} + ${{ steps.make_packages.outputs.tgz_linux_amd64_fips }} + ${{ steps.make_packages.outputs.tgz_linux_arm64_fips }} + # ${{ steps.make_packages.outputs.tgz_darwin_amd64_fips }} + # ${{ steps.make_packages.outputs.tgz_darwin_arm64_fips }} - name: Set up QEMU uses: docker/setup-qemu-action@v3