-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters