changelog for v0.71.0 #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
7.0.x | |
6.0.x | |
include-prerelease: true | |
- name: remove global.json so that 7.0 builds | |
run: rm global.json | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Run Build | |
run: dotnet pack -c Release -o ./bin | |
env: | |
BuildNet7: true | |
- name: Get Changelog Entry | |
id: changelog_reader | |
uses: mindsers/[email protected] | |
with: | |
version: ${{ github.ref }} | |
path: ./CHANGELOG.md | |
- name: Create Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: bin/*.nupkg | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: ${{ steps.changelog_reader.outputs.log_entry }} | |
- name: Push packages | |
run: dotnet nuget push bin/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }} |