Skip to content

Commit d3e6e2c

Browse files
committed
Added create release step to github actions
1 parent 2ff3367 commit d3e6e2c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-publish-nuget.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,14 @@ jobs:
3333
dotnet-version: ${{ env.DOTNET_VERSION }}
3434
- name: Cake Frosting Build and Push NuGet
3535
run: dotnet run --project ${{ github.workspace }}/build/Build.csproj -- --srcDirectoryPath=${{ env.SRC_DIRECTORY_PATH_LIB }} --nugetVersion=${{ env.NUGET_VERSION }} --pushNuget=${{ env.PUSH_NUGET }} --nugetPushToken=${{ secrets.NUGET_PUSH_TOKEN }}
36+
- name: Create Release
37+
id: create_release
38+
uses: actions/create-release@v1
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
with:
42+
tag_name: ${{ env.NUGET_VERSION }}
43+
release_name: Release ${{ env.NUGET_VERSION }}
44+
draft: false
45+
prerelease: true
46+

0 commit comments

Comments
 (0)