File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,22 +25,22 @@ jobs:
25
25
- name : Build
26
26
run : |
27
27
$ver = '${{ github.ref_name }}' -replace 'testing_'
28
- invoke-expression 'dotnet build --no-restore --configuration Debug --nologo -p:Version=$ver -p:FileVersion=$ver -p:AssemblyVersion=$ver'
28
+ invoke-expression 'dotnet build --no-restore --configuration Release --nologo -p:Version=$ver -p:FileVersion=$ver -p:AssemblyVersion=$ver'
29
29
- name : write version into json
30
30
run : |
31
31
$ver = '${{ github.ref_name }}' -replace 'testing_'
32
- $path = './CustomizePlus/bin/Debug /CustomizePlus.json'
32
+ $path = './CustomizePlus/bin/Release /CustomizePlus.json'
33
33
$json = Get-Content -Raw $path | ConvertFrom-Json
34
34
$json.AssemblyVersion = $ver
35
35
$content = $json | ConvertTo-Json
36
36
set-content -Path $path -Value $content
37
37
- name : Archive
38
- run : Compress-Archive -Path CustomizePlus/bin/Debug /* -DestinationPath CustomizePlus.zip
38
+ run : Compress-Archive -Path CustomizePlus/bin/Release /* -DestinationPath CustomizePlus.zip
39
39
- name : Upload a Build Artifact
40
40
41
41
with :
42
42
path : |
43
- ./CustomizePlus/bin/Debug /*
43
+ ./CustomizePlus/bin/Release /*
44
44
- name : Create Release
45
45
id : create_release
46
46
uses : actions/create-release@v1
You can’t perform that action at this time.
0 commit comments