This commit is contained in:
meysamhadeli 2023-01-26 01:47:29 +03:30
parent 6263cbb75e
commit 810ac3cdfb

View File

@ -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