mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-17 16:36:25 +08:00
refactor
This commit is contained in:
parent
6263cbb75e
commit
810ac3cdfb
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user