File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -226,10 +226,21 @@ jobs:
226226 - name : Build Solution
227227 run : dotnet build -c ${{ env.BUILD_CONFIG }} --nologo ${{ env.SOLUTION }}
228228 working-directory : ./src
229+
230+ - name : Package (Official Release)
231+ env :
232+ PACKAGEDIR : ' ${{ github.workspace }}/release/'
233+ if : ${{ github.event.inputs.nuget && matrix.os == 'ubuntu-latest' }}
234+ run : |
235+ mkdir $PACKAGEDIR
236+ dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}
237+ ls -lR $PACKAGEDIR
238+ working-directory : ./src
239+
229240 - name : Package
230241 env :
231242 PACKAGEDIR : ' ${{ github.workspace }}/release/'
232- if : ${{ matrix.os == 'ubuntu-latest' }}
243+ if : ${{ ! ( github.event.inputs.nuget ) && matrix.os == 'ubuntu-latest' }}
233244 run : |
234245 mkdir $PACKAGEDIR
235246 dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}-${{ steps.gitversion.outputs.EscapedBranchName }}.${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ workflow: GitHubFlow/v1
55assembly-versioning-scheme : MajorMinorPatchTag
66assembly-file-versioning-scheme : MajorMinorPatchTag
77mode : ContinuousDeployment
8+ strategies :
9+ - ConfiguredNextVersion
810branches :
911 main :
1012 label : ' '
You can’t perform that action at this time.
0 commit comments