Skip to content

Commit 34cd4d4

Browse files
authored
Fix nuget version template
Signed-off-by: Victor Chang <[email protected]>
1 parent e03edb6 commit 34cd4d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,16 @@ jobs:
260260
sh -c "! grep 'has the following vulnerable packages' vulnerable.txt"
261261
working-directory: ./src
262262

263+
- name: Package (Official Release)
264+
env:
265+
PACKAGEDIR: '${{ github.workspace }}/release/'
266+
if: ${{ github.event.inputs.nuget && matrix.os == 'ubuntu-latest' }}
267+
run: |
268+
mkdir $PACKAGEDIR
269+
dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}
270+
ls -lR $PACKAGEDIR
271+
working-directory: ./src
272+
263273
- name: Package
264274
env:
265275
PACKAGEDIR: '${{ github.workspace }}/release/'

0 commit comments

Comments
 (0)