Skip to content

Commit

Permalink
Made sample not packable and added version
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjt committed Nov 15, 2023
1 parent 1c2a5f4 commit 314b0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: dotnet build --configuration Release
- name: Create the package
run: dotnet pack --configuration Release -o artifacts /p:Version=
run: dotnet pack --configuration Release -o artifacts /p:Version=${{ github.ref_name }}
- name: Publish the package to GPR
run: dotnet nuget push artifacts/*.nupkg
1 change: 1 addition & 0 deletions sample/sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 314b0ed

Please sign in to comment.