Skip to content

Commit

Permalink
ci: fix workflow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurounin committed Mar 2, 2022
1 parent 817973d commit 0b2c15a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/BuildAndPack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ name: Publish nuget
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

name: build, pack & publish
runs-on: ubuntu-latest

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Publish
uses: brandedoutcast/publish-nuget@v2.5.5
uses: alirezanet/publish-nuget@v3.0.0
with:
PROJECT_FILE_PATH: src/AppMetrics.Grpc.AspNetCore.csproj
VERSION_REGEX: '^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$'
Expand Down
2 changes: 2 additions & 0 deletions src/AppMetrics.Grpc.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<PackageVersion>1.0.1</PackageVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>appmetrics;aspnetcore;metrics;gRPC</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Authors>Kurounin</Authors>
<RepositoryUrl>https://github.com/Kurounin/AppMetrics.Grpc.AspNetCore</RepositoryUrl>
<Description>Provides an interceptor that can be used to track [protobuf-net.Grpc.AspNetCore] endpoint calls using [App.Metrics.AspNetCore.Tracking] middleware components</Description>
Expand Down

0 comments on commit 0b2c15a

Please sign in to comment.