File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -261,10 +261,20 @@ jobs:
261261 sh -c "! grep 'has the following vulnerable packages' vulnerable.txt"
262262 working-directory : ./src
263263
264+ - name : Package (Official Release)
265+ env :
266+ PACKAGEDIR : ' ${{ github.workspace }}/release/'
267+ if : ${{ github.event.inputs.nuget && matrix.os == 'ubuntu-latest' }}
268+ run : |
269+ mkdir $PACKAGEDIR
270+ dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}
271+ ls -lR $PACKAGEDIR
272+ working-directory : ./src
273+
264274 - name : Package
265275 env :
266276 PACKAGEDIR : ' ${{ github.workspace }}/release/'
267- if : ${{ matrix.os == 'ubuntu-latest' }}
277+ if : ${{ ! ( github.event.inputs.nuget ) && matrix.os == 'ubuntu-latest' }}
268278 run : |
269279 mkdir $PACKAGEDIR
270280 dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}-${{ steps.gitversion.outputs.EscapedBranchName }}.${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
You can’t perform that action at this time.
0 commit comments