Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

refactor error message #10

refactor error message

refactor error message #10

Workflow file for this run

name: Main Build
on:
push:
branches:
- publish-dev/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build ./Mindbox.Analyzers.sln --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore
- name: Pack
run: dotnet pack ./Mindbox.Analyzers.sln -c Release -p:BuildNumber=${{ github.run_number }} -p:VersionTag="-dev"
- name: Publish
run: dotnet nuget push **/*.nupkg -k ${{secrets.MINDBOX_NUGET_AUTH_TOKEN}} -s https://www.nuget.org/api/v2/package