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:
2525 - name : Build
2626 run : |
2727 $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'
2929 - name : write version into json
3030 run : |
3131 $ver = '${{ github.ref_name }}' -replace 'testing_'
32- $path = './CustomizePlus/bin/Debug /CustomizePlus.json'
32+ $path = './CustomizePlus/bin/Release /CustomizePlus.json'
3333 $json = Get-Content -Raw $path | ConvertFrom-Json
3434 $json.AssemblyVersion = $ver
3535 $content = $json | ConvertTo-Json
3636 set-content -Path $path -Value $content
3737 - name : Archive
38- run : Compress-Archive -Path CustomizePlus/bin/Debug /* -DestinationPath CustomizePlus.zip
38+ run : Compress-Archive -Path CustomizePlus/bin/Release /* -DestinationPath CustomizePlus.zip
3939 - name : Upload a Build Artifact
40404141 with :
4242 path : |
43- ./CustomizePlus/bin/Debug /*
43+ ./CustomizePlus/bin/Release /*
4444 - name : Create Release
4545 id : create_release
4646 uses : actions/create-release@v1
You can’t perform that action at this time.
0 commit comments