File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 8
8
workflow_call :
9
9
10
10
env :
11
+ DOTNET_NOLOGO : true
12
+ DOTNET_GENERATE_ASPNET_CERTIFICATE : false
13
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
11
14
PROJECT : ./src/Our.Umbraco.UiExamples/Our.Umbraco.UiExamples.csproj
12
15
OUTPUT : ./dist
13
16
Original file line number Diff line number Diff line change 3
3
tags :
4
4
- ' release-*'
5
5
6
+ env :
7
+ DOTNET_NOLOGO : true
8
+ DOTNET_GENERATE_ASPNET_CERTIFICATE : false
9
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
10
+
6
11
jobs :
7
12
build :
8
13
name : Build
@@ -25,14 +30,14 @@ jobs:
25
30
- name : Get Umbraco package file name
26
31
run : |
27
32
$packageFile = Get-Item *.zip | Select-Object -First 1 -ExpandProperty Name
28
- echo "packageFile =$packageFile" >> $GITHUB_ENV
33
+ echo "OURUMBRACO_PACKAGE =$packageFile" >> $GITHUB_ENV
29
34
30
- - name : Push to Our Umbraco
31
- run : umbpack push "$env:packageFile " -k "$env:apiKey" -a *
35
+ - name : Push to Our. Umbraco
36
+ run : umbpack push "${{ env.OURUMBRACO_PACKAGE}} " -k "$env:apiKey" -a *
32
37
env :
33
- apiKey : ${{ secrets.OURUMBRACO_API_KEY }}
38
+ apiKey : ${{secrets.OURUMBRACO_API_KEY}}
34
39
35
40
- name : Push to NuGet
36
- run : dotnet nuget push "*.nupkg" --source https://api.nuget.org/v3/index.json -- api-key "$env:apiKey" --skip-duplicate
41
+ run : dotnet nuget push "*.nupkg" --api-key "$env:apiKey" --skip-duplicate
37
42
env :
38
- apiKey : ${{ secrets.NUGET_API_KEY }}
43
+ apiKey : ${{secrets.NUGET_API_KEY}}
Original file line number Diff line number Diff line change 6
6
},
7
7
"publicReleaseRefSpec" : [
8
8
" ^refs/heads/master$" ,
9
- " ^refs/heads/release/ \\ d+(\\ .\\ d+)?(\\ .\\ d+)?$"
9
+ " ^refs/heads/release- \\ d+(\\ .\\ d+)?(\\ .\\ d+)?$"
10
10
],
11
11
"cloudBuild" : {
12
12
"buildNumber" : {
You can’t perform that action at this time.
0 commit comments