Skip to content

Commit

Permalink
Upload release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Saibamen committed May 13, 2022
1 parent d26d77a commit 8a6f594
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,19 @@ jobs:
- name: Create package ${{ env.PACKAGE_4 }}
run: dotnet pack --configuration Release **/${{ env.PACKAGE_4 }}.csproj
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: IDAS.Client.Libs-Release_${{ steps.set_release_name.outputs.release_name }}
release_name: IDAS.Client.Libs-Release_${{ steps.set_release_name.outputs.release_name }}
prerelease: true
- name: Upload release assets
uses: alexellis/upload-assets@0.2.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["**/*.nupkg"]'
- name: Push packages
run: dotnet nuget push "**/*.nupkg"

0 comments on commit 8a6f594

Please sign in to comment.