mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-05-06 05:20:54 +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
|
path: ~/.nuget/packages
|
||||||
|
|
||||||
- name: Update Release Drafter
|
- name: Update Release Drafter
|
||||||
if: |
|
if: github.ref == 'refs/heads/main'
|
||||||
${{github.ref == 'refs/heads/main'}} &&
|
|
||||||
${{success()}}
|
|
||||||
id: last_release
|
id: last_release
|
||||||
uses: release-drafter/release-drafter@v5
|
uses: release-drafter/release-drafter@v5
|
||||||
env:
|
env:
|
||||||
@ -39,9 +37,12 @@ jobs:
|
|||||||
- name: "Print result"
|
- name: "Print result"
|
||||||
run: |
|
run: |
|
||||||
echo "tag_name: ${{ steps.last_release.outputs.tag_name }}"
|
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 }}"
|
||||||
echo "branch: ${{ github.ref }}"
|
echo "branch: ${{ github.ref }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: |
|
if: |
|
||||||
${{ steps.last_release.outputs.tag_name }} != null
|
${{ steps.last_release.outputs.tag_name }} != null
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user