From 3254a85e1d876a3d82c69784de0ffaaf6a942ac6 Mon Sep 17 00:00:00 2001 From: meysamhadeli Date: Thu, 26 Jan 2023 01:53:27 +0330 Subject: [PATCH] refactor --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eda52c..03d8873 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - name: Update Release Drafter - if: github.ref == 'refs/heads/main' && ${{ steps.last_release.outputs.tag_name }} != null + if: github.ref == 'refs/heads/main' id: last_release uses: release-drafter/release-drafter@v5 env: @@ -34,7 +34,7 @@ jobs: - name: Login to DockerHub - if: ${{ steps.last_release.outputs.tag_name }} != null + if: ${{ steps.last_release.outputs.name }} != null uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }}