File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ param (
2
+ [String ]$sdkVersion ,
3
+ [String ]$nugetKey
4
+ )
5
+
6
+ [Environment ]::SetEnvironmentVariable(" DOTNET_SKIP_FIRST_TIME_EXPERIENCE" , 1 )
7
+ [Environment ]::SetEnvironmentVariable(" DOTNET_CLI_TELEMETRY_OPTOUT" , 1 )
8
+
9
+ git clone https:// github.com / firebase/ firebase- admin- dotnet.git
10
+ cd firebase- admin- dotnet
11
+ dotnet pack - c Release FirebaseAdmin/ FirebaseAdmin
12
+ cd FirebaseAdmin/ FirebaseAdmin/ bin/ Release
13
+ echo " Pushing FirebaseAdmin.$sdkVersion .nupkg to nuget.org"
14
+ dotnet nuget push FirebaseAdmin.$sdkVersion.nupkg - k $nugetKey - s https:// api.nuget.org/ v3/ index.json
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - name : ' gcr.io/$PROJECT_ID/windows-builder'
3
+ args : [
4
+ ' --command' , 'powershell.exe -file build.ps1 -sdkVersion ${_SDK_VERSION} -nugetKey ${_NUGET_KEY}' ,
5
+ ' --image' , 'projects/$PROJECT_ID/global/images/firebase-windows-dotnet-v1'
6
+ ]
7
+ timeout : 1200s
You can’t perform that action at this time.
0 commit comments