add changelog entry for v0.68.0 #68
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: Publish | |
on: | |
push: | |
tags: | |
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
9.0.x | |
# since we're packaging for net7 now... | |
- name: remove global.json | |
run: rm global.json | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Run build | |
run: dotnet run --project build | |
env: | |
BuildNet9: true | |
IgnoreTests: true | |
- name: Get Changelog Entry | |
id: changelog_reader | |
uses: mindsers/changelog-reader-action@v2 | |
with: | |
version: ${{ github.ref }} | |
path: ./CHANGELOG.md | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
body: ${{ steps.changelog_reader.outputs.log_entry }} | |
draft: false | |
prerelease: false | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: src/**/*.nupkg | |
tag: ${{ github.ref }} | |
overwrite: true | |
file_glob: true | |
- name: Publish to NuGet | |
run: dotnet run --project build -- -t Push | |
env: | |
nuget-key: ${{ secrets.PROJ_INFO_NUGET_TOKEN }} |