Skip to content

Commit b89be63

Browse files
authored
Update build.yml
1 parent ed2e646 commit b89be63

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ env:
1818
GITHUB_FEED: https://nuget.pkg.github.com/koenbeuk/
1919
GITHUB_USER: koenbeuk
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
# Official NuGet Feed settings
22-
NUGET_FEED: https://api.nuget.org/v3/index.json
23-
NUGET_KEY: ${{ secrets.NUGET_KEY }}
2421

2522
jobs:
2623
build-v1:
@@ -113,36 +110,3 @@ jobs:
113110
do
114111
dotnet nuget push $f --source $GITHUB_FEED --api-key ${{github.token}} --skip-duplicate --no-symbols true
115112
done
116-
117-
deploy:
118-
needs: [build, build-v1]
119-
if: github.event_name == 'release'
120-
runs-on: ubuntu-latest
121-
steps:
122-
- uses: actions/checkout@v2
123-
- name: Setup .NET Core
124-
uses: actions/setup-dotnet@v1
125-
with:
126-
dotnet-version: 5.0.x
127-
- name: Create Release NuGet package
128-
run: |
129-
arrTag=(${GITHUB_REF//\// })
130-
VERSION="${arrTag[2]}"
131-
echo Version: $VERSION
132-
CONFIGURATION=$([ "${VERSION:0:2}" == "v1" ] && echo "ReleaseV1" || echo "Release")
133-
VERSION="${VERSION//v}"
134-
echo Clean Version: $VERSION
135-
echo Configuration: $CONFIGURATION
136-
dotnet pack -v normal -c $CONFIGURATION --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg EntityFrameworkCore.Triggered.Core.slnf
137-
- name: Push to GitHub Feed
138-
run: |
139-
for f in ./nupkg/*.nupkg
140-
do
141-
dotnet nuget push $f --source $GITHUB_FEED --api-key ${{github.token}} --skip-duplicate --no-symbols true
142-
done
143-
- name: Push to NuGet Feed
144-
run: |
145-
for f in ./nupkg/*.nupkg
146-
do
147-
dotnet nuget push $f --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY
148-
done

0 commit comments

Comments
 (0)