Skip to content

Commit

Permalink
update github feed deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-moussawi committed Mar 14, 2021
1 parent b7f9279 commit cd1b06d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -103,11 +103,7 @@ jobs:
VERSION="${VERSION//v}"
echo Clean Version: $VERSION
dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg SqlKata.Execution/SqlKata.Execution.csproj
- name: Push to GitHub Feed (QueryBuilder)
run: |
for f in ./nupkg/*.nupkg
do
curl -X PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
done
- name: Push to GitHub Feed
run: dotnet nuget push ./nupkg/*.nupkg --source $GITHUB_FEED --skip-duplicate --api-key $GITHUB_TOKEN
- name: Push to NuGet Feed
run: dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY

0 comments on commit cd1b06d

Please sign in to comment.