Skip to content

Commit fe18671

Browse files
remove dry run for automated nuget build
1 parent 5c58942 commit fe18671

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,10 @@ jobs:
3535
- name: Pack
3636
run: dotnet pack ./src/DataStax.AstraDB.DataApi/ --configuration Release --no-build --output nupkgs -p:Version=${{ env.PACKAGE_VERSION }}
3737

38-
# - name: Push to NuGet
39-
# run: dotnet nuget push nupkgs/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
40-
# env:
41-
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
42-
43-
- name: Dry-run NuGet push
44-
run: |
45-
echo "Would run: dotnet nuget push nupkgs/*.nupkg --api-key [REDACTED] --source https://api.nuget.org/v3/index.json"
38+
- name: Push to NuGet
39+
run: dotnet nuget push nupkgs/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
40+
env:
41+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
4642

4743
- name: Upload NuGet package as artifact
4844
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)