Added API Key for nuget
continuous-integration/drone/push Build is failing Details

Xander Sigler 3 years ago
parent 6564f3cf69
commit e02af14ad3

@ -3,15 +3,14 @@ type: docker
name: RadarrSharp
environment:
BUILD_NUM_SINCE_LAST_MINOR_VERSION: 17
BUILD_NUM_SINCE_LAST_MINOR_VERSION: 15
steps:
- name: init
image: busybox
commands:
- echo 'Starting build pipeline for RadarrSharp'
- echo ${DRONE_BUILD_NUMBER}
- echo "$((${DRONE_BUILD_NUMBER}-15))"
- echo Drone build number is ${DRONE_BUILD_NUMBER}
- echo Revision is $((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION))
- name: test
@ -19,9 +18,9 @@ steps:
commands:
- ls
- dotnet build
#- dotnet pack -p:Version=1.0.3 -o .
- dotnet pack -p:Version=1.0.$((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION)) -o .
- ls
#- dotnet nuget push *.nupkg --api-key oy2adzrarabcfh2xhpvq5um34wvzkf4e5kt5dk52yn7xvm --source https://api.nuget.org/v3/index.json
- dotnet nuget push *.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
- name: finish
image: busybox

Loading…
Cancel
Save