Update dependencies and minor clean-up #71
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
env: | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
jobs: | |
################################################### | |
# PUBLISH | |
################################################### | |
publish: | |
name: Publish | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Get Git tags' | |
run: git fetch --tags | |
shell: bash | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
- name: Publish | |
shell: bash | |
run: | | |
dotnet tool restore | |
dotnet cake --target="publish" \ | |
--nuget-key="${{secrets.NUGET_API_KEY}}" |