Skip to content

Commit

Permalink
yet more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
krogenth committed Jul 16, 2023
1 parent e4ce27b commit 13c2733
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
SOLUTION_FILE_PATH: .
BASE_VERSION: 1.0
RELEASE_DIRECTORY: "release_output"
PUBLISH_DIRECTORY: "publish"

jobs:
tag:
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 13c2733

Please sign in to comment.