File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2323 - name : Test
2424 run : dotnet test --no-restore --verbosity normal
2525 - name : Publish NuGet
26+ id : publish_nuget
2627 if : success() && github.event_name == 'push' && github.ref == 'refs/heads/master'
2728 uses : brandedoutcast/publish-nuget@v2.5.5
2829 with :
@@ -31,17 +32,18 @@ jobs:
3132 env :
3233 NUGET_KEY : ${{ secrets.NUGET_KEY }}
3334 - name : Create release
34- if : success() && steps.publish_nuget.output.version != ''
35+ id : create_release
36+ if : success() && steps.publish_nuget.outputs.version != ''
3537 uses : actions/create-release@v1
3638 with :
37- tag_name : ${{ steps.publish_nuget.output .version }}
38- release_name : ${{ steps.publish_nuget.output .version }}
39+ tag_name : ${{ steps.publish_nuget.outputs .version }}
40+ release_name : ${{ steps.publish_nuget.outputs .version }}
3941 body : " "
4042 - name : Publish dotnet-json.exe
4143 if : success() && steps.publish_nuget.outputs.version != ''
4244 run : dotnet publish -c Release -o ./output --self-contained true -r win-x86 -p:PublishSingleFile=true -p:PublishTrimmed=true
4345 - name : Upload dotnet-json.exe release asset
44- if : success() && steps.publish_nuget.output .version != ''
46+ if : success() && steps.publish_nuget.outputs .version != ''
4547 uses : actions/upload-release-asset@v1
4648 with :
4749 upload_url : ${{ steps.create_release.outputs.upload_url }}
You can’t perform that action at this time.
0 commit comments