Skip to content

Commit 7edb05e

Browse files
committed
fix: ci conflict
1 parent 890c085 commit 7edb05e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595

9696
- name: Semantic Release
9797
if: steps.semantic.outputs.new_release_published == 'true'
98+
id: semantic_final
9899
uses: cycjimmy/semantic-release-action@v5
99100
env:
100101
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -103,18 +104,18 @@ jobs:
103104
conventional-changelog-conventionalcommits
104105
105106
- name: NuGet login (OIDC → temp API key)
106-
if: steps.semantic.outputs.new_release_published == 'true'
107+
if: steps.semantic_final.outputs.new_release_published == 'true'
107108
uses: NuGet/login@v1
108109
id: login
109110
with:
110111
user: IvanJosipovic
111112

112113
- name: .NET NuGet Push
113-
if: steps.semantic.outputs.new_release_published == 'true'
114+
if: steps.semantic_final.outputs.new_release_published == 'true'
114115
run: dotnet nuget push src/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{steps.login.outputs.NUGET_API_KEY}}
115116

116117
- name: Docker Push
117-
if: steps.semantic.outputs.new_release_published == 'true'
118+
if: steps.semantic_final.outputs.new_release_published == 'true'
118119
run: |
119120
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${GITHUB_ACTOR} --password-stdin
120121

0 commit comments

Comments
 (0)