diff --git a/.github/workflows/cd-nuget.yml b/.github/workflows/cd-nuget.yml index cbae1d1..38ef4c8 100644 --- a/.github/workflows/cd-nuget.yml +++ b/.github/workflows/cd-nuget.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-dotnet@v3 - run: | - dotnet build src/EmbeddedTexts -c debug - dotnet test + dotnet pack ./src/EmbeddedTexts/PodNet.EmbeddedTexts.csproj -c debug + dotnet test - run: dotnet pack -p:Version=$(echo ${{ github.ref_name }} | sed 's/^v//') -p:RepositoryCommit=${{ github.sha }} - run: dotnet nuget push ./artifacts/package/release/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json diff --git a/src/EmbeddedTexts/PodNet.EmbeddedTexts.csproj b/src/EmbeddedTexts/PodNet.EmbeddedTexts.csproj index c9a2eeb..35eef22 100644 --- a/src/EmbeddedTexts/PodNet.EmbeddedTexts.csproj +++ b/src/EmbeddedTexts/PodNet.EmbeddedTexts.csproj @@ -5,16 +5,15 @@ PodNet.EmbeddedTexts A simple C# code generator that allows for embedding text file content into your code. EmbeddedTexts, PodNet, generator, embedded, texts, resx, resource, awesome - true - - + + - + \ No newline at end of file diff --git a/tests/EmbeddedTexts.IntegrationTests/PodNet.EmbeddedTexts.IntegrationTests.csproj b/tests/EmbeddedTexts.IntegrationTests/PodNet.EmbeddedTexts.IntegrationTests.csproj index 9c73a46..9160ae8 100644 --- a/tests/EmbeddedTexts.IntegrationTests/PodNet.EmbeddedTexts.IntegrationTests.csproj +++ b/tests/EmbeddedTexts.IntegrationTests/PodNet.EmbeddedTexts.IntegrationTests.csproj @@ -2,22 +2,17 @@ net8.0 - $(ArtifactsPath)/package - true + $(ArtifactsPath)\package - - - - - + - - + - - + + + @@ -30,7 +25,7 @@ - +