File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments