Skip to content

Commit cd1b06d

Browse files
update github feed deploy
1 parent b7f9279 commit cd1b06d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,7 @@ jobs:
103103
VERSION="${VERSION//v}"
104104
echo Clean Version: $VERSION
105105
dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg SqlKata.Execution/SqlKata.Execution.csproj
106-
- name: Push to GitHub Feed (QueryBuilder)
107-
run: |
108-
for f in ./nupkg/*.nupkg
109-
do
110-
curl -X PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
111-
done
106+
- name: Push to GitHub Feed
107+
run: dotnet nuget push ./nupkg/*.nupkg --source $GITHUB_FEED --skip-duplicate --api-key $GITHUB_TOKEN
112108
- name: Push to NuGet Feed
113109
run: dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY

0 commit comments

Comments
 (0)