diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 844a2af..95e3131 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,7 @@ jobs: path: ~/.nuget/packages - name: Update Release Drafter - if: | - ${{github.ref == 'refs/heads/main'}} && - ${{success()}} + if: github.ref == 'refs/heads/main' id: last_release uses: release-drafter/release-drafter@v5 env: @@ -39,9 +37,12 @@ jobs: - name: "Print result" run: | echo "tag_name: ${{ steps.last_release.outputs.tag_name }}" + echo "name: ${{ steps.last_release.outputs.name }}" + echo "id: ${{ steps.last_release.outputs.id }}" echo "branch: ${{ github.ref }}" echo "branch: ${{ github.ref }}" + - name: Login to DockerHub if: | ${{ steps.last_release.outputs.tag_name }} != null