File tree 1 file changed +11
-1
lines changed 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -261,10 +261,20 @@ jobs:
261
261
sh -c "! grep 'has the following vulnerable packages' vulnerable.txt"
262
262
working-directory : ./src
263
263
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
+
264
274
- name : Package
265
275
env :
266
276
PACKAGEDIR : ' ${{ github.workspace }}/release/'
267
- if : ${{ matrix.os == 'ubuntu-latest' }}
277
+ if : ${{ ! ( github.event.inputs.nuget ) && matrix.os == 'ubuntu-latest' }}
268
278
run : |
269
279
mkdir $PACKAGEDIR
270
280
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