Skip to content

Добавлена поддержка функции coalesce. (#21) #4

Добавлена поддержка функции coalesce. (#21)

Добавлена поддержка функции coalesce. (#21) #4

Workflow file for this run

name: Publish
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
name: Release
if: github.event.base_ref == 'refs/heads/master'
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- id: get_version
uses: battila7/get-version-action@v2
- name: Build
run: msbuild /v:m /p:Configuration=Release /t:Restore,Clean,Build,Pack /p:Version=${{ steps.get_version.outputs.version-without-v }} src/ConfigSettings.sln
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Publish the package to nuget.org
shell: cmd
run: dotnet nuget push src\ConfigSettings\bin\Release\ConfigSettings.${{ steps.get_version.outputs.version-without-v }}.nupkg --skip-duplicate -s https://api.nuget.org/v3/index.json -k "%NUGET_AUTH_TOKEN%"
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}