Skip to content

Commit

Permalink
Include symbols into NuGet packages published to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed Oct 11, 2024
1 parent 7cbc9fd commit 47e3ae5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,68 +54,68 @@ jobs:
run: dotnet tool restore

- name: Run integration tests
run: dotnet run --project build/Build.fsproj -- --embed-all --ci-build
run: dotnet run --project build/Build.fsproj -- --ci-build

- name: Pack FSharp.Data.GraphQL.Shared project
run: |
cd src/FSharp.Data.GraphQL.Shared
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Shared package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Shared.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Client project
run: |
cd src/FSharp.Data.GraphQL.Client
dotnet pack --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Client package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Client.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server project
run: |
cd src/FSharp.Data.GraphQL.Server
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server.AspNetCore project
run: |
cd src/FSharp.Data.GraphQL.Server.AspNetCore
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server.AspNetCore package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.AspNetCore.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server.Giraffe project
run: |
cd src/FSharp.Data.GraphQL.Server.Giraffe
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server.Giraffe package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.Giraffe.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server.Oxpecker project
run: |
cd src/FSharp.Data.GraphQL.Server.Oxpecker
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server.Oxpecker package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.Oxpecker.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server.Relay project
run: |
cd src/FSharp.Data.GraphQL.Server.Relay
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server.Relay package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.Relay.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
- name: Pack FSharp.Data.GraphQL.Server.Middleware project
run: |
cd src/FSharp.Data.GraphQL.Server.Middleware
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:DebugType=Embedded -o ../../nuget
dotnet pack --no-build --configuration Release /p:IsNuGet=true /p:IncludeSource=true -o ../../nuget
- name: Publish FSharp.Data.GraphQL.Server.Middleware package to GitHub
run: |
dotnet nuget push nuget/FSharp.Data.GraphQL.Server.Middleware.${{env.VERSION}}.nupkg -s "github.com" -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate
Expand Down

0 comments on commit 47e3ae5

Please sign in to comment.