Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@2dd38496.
  • Loading branch information
APIs and Common Services team committed Oct 28, 2024
1 parent 045729b commit a2e2f3a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Public package to NuGet
on:
push:
branches: [main, APICS-2724/nuget-workflow]
jobs:
build:
runs-on: ubuntu-latest
name: Update Nuget Package
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pack nuget package
working-directory: ./src/Segment.PublicApi
run: dotnet pack -c Release
- name: Push nuget package
working-directory: ./src/Segment.PublicApi
run: dotnet nuget push bin/Release/Segment.PublicApi.*.nupkg --api-key ${NUGET_API_KEY} --source https://api.nuget.org/v3/index.json --skip-duplicate
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
10 changes: 5 additions & 5 deletions Segment.PublicApi.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{690126B5-448C-49B8-86EE-6442E4B74B59}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{563E0E1D-BA04-4984-A386-7885303D3900}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{690126B5-448C-49B8-86EE-6442E4B74B59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{690126B5-448C-49B8-86EE-6442E4B74B59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{690126B5-448C-49B8-86EE-6442E4B74B59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{690126B5-448C-49B8-86EE-6442E4B74B59}.Release|Any CPU.Build.0 = Release|Any CPU
{563E0E1D-BA04-4984-A386-7885303D3900}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{563E0E1D-BA04-4984-A386-7885303D3900}.Debug|Any CPU.Build.0 = Debug|Any CPU
{563E0E1D-BA04-4984-A386-7885303D3900}.Release|Any CPU.ActiveCfg = Release|Any CPU
{563E0E1D-BA04-4984-A386-7885303D3900}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit a2e2f3a

Please sign in to comment.