diff --git a/.github/workflows/create-live-build.yml b/.github/workflows/create-live-build.yml index 12fdd57..5839b79 100644 --- a/.github/workflows/create-live-build.yml +++ b/.github/workflows/create-live-build.yml @@ -103,7 +103,12 @@ jobs: echo "BUILD_VERSION=${{ GITHUB.REF_NAME }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append } - name: Pack application - run: dotnet pack -p:PackageOutputPath=${{ env.APPLICATION_PUBLISH_FOLDER }} -p:Version=${{ env.BUILD_VERSION }} + run: dotnet pack -p:PackageOutputPath=publish -p:Version=${{ env.BUILD_VERSION }} + - name: Move nuget to output + run: | + mkdir ${{ env.APPLICATION_PUBLISH_FOLDER }} + mv .\src\IL2CareerToolset\publish\*.nupkg ${{ env.APPLICATION_PUBLISH_FOLDER }} + mv .\src\IL2CareerModel\publish\*.nupkg ${{ env.APPLICATION_PUBLISH_FOLDER }} - name: Show content for debug if: ${{ env.DEBUG == 'true' }} run: ls diff --git a/.github/workflows/create-nightly-build.yml b/.github/workflows/create-nightly-build.yml index faed067..be74928 100644 --- a/.github/workflows/create-nightly-build.yml +++ b/.github/workflows/create-nightly-build.yml @@ -116,7 +116,12 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Pack application - run: dotnet pack -o ${{ env.APPLICATION_PUBLISH_FOLDER }} -p:Version=0.0.0 + run: dotnet pack -p:PackageOutputPath=publish -p:Version=0.0.0 + - name: Move nuget to output + run: | + mkdir ${{ env.APPLICATION_PUBLISH_FOLDER }} + mv .\src\IL2CareerToolset\publish\*.nupkg ${{ env.APPLICATION_PUBLISH_FOLDER }} + mv .\src\IL2CareerModel\publish\*.nupkg ${{ env.APPLICATION_PUBLISH_FOLDER }} - name: Show content for debug if: ${{ env.DEBUG == 'true' }} run: ls