Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephEShook committed Oct 17, 2023
1 parent 88ad3ef commit 9c7cb8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
git branch --remote --contains | grep origin/main
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Build
run: dotnet build FusionCache.Plugins.Metrics.DotnetCore.sln --configuration Release /p:Version=${VERSION}
- name: Test
run: dotnet test FusionCache.Plugins.Metrics.DotnetCore.sln --configuration Release /p:Version=${VERSION} --no-build
run: dotnet test FusionCache.Plugins.Metrics.DotnetCore.sln --configuration Release /p:Version=${VERSION} --verbosity detailed
- name: Pack
run: |
dotnet pack -v normal -c Release --no-build --include-source -p:PackageVersion=${VERSION} src/FusionCache.Plugins.Metrics.Core/FusionCache.Plugins.Metrics.Core.csproj --output .
Expand Down

0 comments on commit 9c7cb8a

Please sign in to comment.