diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b532862..5094f74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ env: SOLUTION_FILE_PATH: . BASE_VERSION: 1.0 RELEASE_DIRECTORY: "release_output" + PUBLISH_DIRECTORY: "publish" jobs: tag: @@ -66,7 +67,7 @@ jobs: - name: Run Publish run: | - dotnet publish -c Release -r "${{ matrix.DOTNET_RUNTIME_IDENTIFIER }}" -o ./publish -p:Version="${{ steps.version_info.outputs.build_version }}" -p:SourceRevisionId="${{ steps.version_info.output.git_short_hash }}" -p:DebugType=embedded src/G2DataGUI --self-contained true + dotnet publish -c Release -r "${{ matrix.DOTNET_RUNTIME_IDENTIFIER }}" -o ./${{ env.PUBLISH_DIRECTORY }} -p:Version="${{ steps.version_info.outputs.build_version }}" -p:SourceRevisionId="${{ steps.version_info.output.git_short_hash }}" -p:DebugType=embedded src/G2DataGUI --self-contained true - name: Debug root Directory Contents run: | @@ -78,15 +79,15 @@ jobs: echo "$(ls ./${{ env.RELEASE_DIRECTORY }})" shell: bash - - name: Debug publish Directory Contents + - name: Debug ${{ env.PUBLISH_DIRECTORY }} Directory Contents run: | - echo "$(ls ./publish)" + echo "$(ls ./${{ env.PUBLISH_DIRECTORY }})" shell: bash - name: Pack Windows Build if : matrix.os == 'windows-latest' run: | - pushd publish + pushd ./${{ env.PUBLISH_DIRECTORY }}) 7z a ../${{ env.RELEASE_DIRECTORY }}/G2DataGUI-${{ steps.version_info.outputs.build_version }}-win_x64.zip publish popd shell: bash