Skip to content

Commit a2e2f3a

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@2dd38496.
1 parent 045729b commit a2e2f3a

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

.github/workflows/deploy-package.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Public package to NuGet
2+
on:
3+
push:
4+
branches: [main, APICS-2724/nuget-workflow]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
name: Update Nuget Package
9+
timeout-minutes: 10
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
- name: Pack nuget package
14+
working-directory: ./src/Segment.PublicApi
15+
run: dotnet pack -c Release
16+
- name: Push nuget package
17+
working-directory: ./src/Segment.PublicApi
18+
run: dotnet nuget push bin/Release/Segment.PublicApi.*.nupkg --api-key ${NUGET_API_KEY} --source https://api.nuget.org/v3/index.json --skip-duplicate
19+
env:
20+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

Segment.PublicApi.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{690126B5-448C-49B8-86EE-6442E4B74B59}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{563E0E1D-BA04-4984-A386-7885303D3900}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
1010
Release|Any CPU = Release|Any CPU
1111
EndGlobalSection
1212
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13-
{690126B5-448C-49B8-86EE-6442E4B74B59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{690126B5-448C-49B8-86EE-6442E4B74B59}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{690126B5-448C-49B8-86EE-6442E4B74B59}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{690126B5-448C-49B8-86EE-6442E4B74B59}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{563E0E1D-BA04-4984-A386-7885303D3900}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{563E0E1D-BA04-4984-A386-7885303D3900}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{563E0E1D-BA04-4984-A386-7885303D3900}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{563E0E1D-BA04-4984-A386-7885303D3900}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)