Skip to content

Commit 24fdd94

Browse files
Merge pull request #210 from ServiceComposer/mauroservienti-patch-1
Update CI release step
2 parents 887e41d + ac56e9e commit 24fdd94

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: checkout code
54-
uses: actions/checkout@v6.0.2
54+
uses: actions/checkout@v4.2.2
5555
- name: Setup .NET
56-
uses: actions/setup-dotnet@v5.1.0
56+
uses: actions/setup-dotnet@v4.3.1
5757
with:
58-
dotnet-version: 10.0.x
58+
dotnet-version: 8.0.x
5959
- name: Download artifacts
60-
uses: actions/download-artifact@v7.0.0
60+
uses: actions/download-artifact@v4.3.0
6161
with:
6262
name: nuget-packages
6363
path: nugets/
@@ -76,13 +76,9 @@ jobs:
7676
echo "Tag is pre-release"
7777
echo "Pushing package to Feedz.io"
7878
dotnet nuget push ./nugets/*.nupkg --source https://f.feedz.io/servicecomposer/pre-releases/nuget --api-key ${{ secrets.FEEDZ_API_KEY }}
79-
echo "Pushing Symbols to Feedz.io"
80-
dotnet nuget push ./nugets/*.snupkg --source https://f.feedz.io/servicecomposer/pre-releases/symbols --api-key ${{ secrets.FEEDZ_API_KEY }}
8179
- name: Deploy release to NuGet
8280
if: steps.check-tag-type.outputs.release-type == 'production'
8381
run: |
8482
echo "Tag is production"
8583
echo "Pushing package to NuGet.org"
86-
dotnet nuget push ./nugets/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }}
87-
echo "Pushing Symbols to NuGet.org"
88-
dotnet nuget push ./nugets/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }}
84+
dotnet nuget push ./nugets/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)