Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
WilStead committed Feb 1, 2024
1 parent a05b23a commit e01c141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ jobs:
run: dotnet restore
working-directory: ./src

- name: Build
run: dotnet build --configuration Release -p:Version=${{ env.VERSION }} -p:ContinuousIntegrationBuild=true --no-restore --nologo
working-directory: ./src

#- name: Test
# run: dotnet test --no-restore --verbosity normal
# working-directory: ./src

- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

Expand All @@ -41,7 +33,7 @@ jobs:

- name: Pack
if: steps.tagged.outputs.tagged == 1
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg -p:PackageVersion=${{ env.VERSION }} --configuration Release --no-build --nologo --output .
run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg -p:PackageVersion=${{ env.VERSION }} --configuration Release --nologo --output .
working-directory: ./src

- name: Push to NuGet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand Down

0 comments on commit e01c141

Please sign in to comment.