Skip to content

Commit

Permalink
Added publish step to release process
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronMayne committed Sep 13, 2023
1 parent bb23b50 commit fff2e21
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ jobs:
- name: Pack
run: dotnet msbuild -t:pack ${Solution_Path} -p:PackageVersion=${{env.GitVersion_NuGetVersion}} -p:NoBuild=true
- name: Push
run: dotnet nuget push ./src/Extended.Collections/bin/${Configuration}/*.nupkg --skip-duplicate --api-key ${{secrets.NuGet_Api_Key}} --source ${{vars.Nuget_Source_Url}}
run: dotnet nuget push ./src/Extended.Collections/bin/${Configuration}/*.nupkg --skip-duplicate --api-key ${{secrets.NuGet_Api_Key}} --source ${{vars.Nuget_Source_Url}}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.rf }}
draft: false
prerelease: export v=$([[ -z "${{env.GitVersion_PreReleaseTag}}" ]] && echo "false" || echo "true")

0 comments on commit fff2e21

Please sign in to comment.