Skip to content

Commit 26bd804

Browse files
authored
Update publish.yml
Removed the part related to deploying the package to GitHub
1 parent 531f5f8 commit 26bd804

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ env:
1212
DOTNET_CLI_TELEMETRY_OPTOUT: true
1313
# Project name to pack and publish
1414
PROJECT_NAME: Notion.Sharp
15-
# GitHub Packages Feed settings
16-
GITHUB_FEED: https://nuget.pkg.github.com/BusHero/index.json
17-
GITHUB_USER: BusHero
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
1916
# Official NuGet Feed settings
2017
NUGET_FEED: https://api.nuget.org/v3/index.json
2118
NUGET_KEY: ${{ secrets.NOTION_SDK_NUGET_PUBLISHER }}
@@ -50,16 +47,6 @@ jobs:
5047
with:
5148
name: nupkg
5249
path: ./src/${{ env.PROJECT_NAME }}/bin/Release/*.nupkg
53-
deploy-GitHub:
54-
needs: build
55-
runs-on: ubuntu-latest
56-
steps:
57-
- name: Download Artifact
58-
uses: actions/download-artifact@v1
59-
with:
60-
name: nupkg
61-
- name: Push to GitHub Feed
62-
run: dotnet nuget push ./nupkg/*.nupkg --source $GITHUB_FEED --skip-duplicate --api-key $GITHUB_TOKEN
6350
deploy-NuGet:
6451
needs: build
6552
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)