Skip to content

Commit

Permalink
ci: fix agent package and release workflow
Browse files Browse the repository at this point in the history
Debug Symbols were not stored at the expected place.
  • Loading branch information
CBenoit committed Aug 20, 2024
1 parent 1f40b45 commit 5d110da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,28 +462,13 @@ jobs:
with:
pattern: devolutions-agent-*
merge-multiple: true

- name: Split symbols
shell: pwsh
run: |
$SymbolsPath = New-Item -ItemType Directory $(Join-Path "${{ runner.temp }}" 'symbols')
Get-ChildItem -Path "${{ github.workspace }}" -Recurse -Include '*.pdb' | % {
Move-Item $_ $SymbolsPath
}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
path: ${{ github.workspace }}/**/*
name: devolutions-agent
overwrite: true

- name: Upload Symbol Artifacts
uses: actions/upload-artifact@v4
with:
path: ${{ runner.temp }}/symbols
name: devolutions-agent-symbols
overwrite: true

jetsocat-merge:
name: Merge jetsocat artifacts
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,12 @@ jobs:
New-Item -Path "$destinationFolder" -ItemType "directory"
Move-Item -Path "./windows/x86_64/DevolutionsAgent-x86_64-${version}.msi" -Destination "$destinationFolder/DevolutionsAgent-x86_64-${versionFull}.msi"
Move-Item -Path "./windows/x86_64/DevolutionsAgent_Windows_${version}_x86_64.pdb" -Destination "$destinationFolder/DevolutionsAgent-x86_64-${versionFull}.pdb"
Move-Item -Path "./windows/x86_64/devolutions_pedm_contextmenu_shell.pdb" -Destination "$destinationFolder/devolutions_pedm_contextmenu_shell.pdb"
Move-Item -Path "./windows/x86_64/devolutions_pedm_contextmenu.pdb" -Destination "$destinationFolder/devolutions_pedm_contextmenu.pdb"
Move-Item -Path "./windows/x86_64/devolutions_pedm_hook.pdb" -Destination "$destinationFolder/devolutions_pedm_hook.pdb"
Move-Item -Path "./windows/x86_64/DevolutionsPedmDesktop.pdb" -Destination "$destinationFolder/DevolutionsPedmDesktop.pdb"
# Note that at this point the deb package is already named using the ".0" suffix.
Move-Item -Path "./linux/x86_64/devolutions-agent_${versionFull}_amd64.deb" -Destination "$destinationFolder/devolutions-agent_${versionFull}_amd64.deb"
Expand Down

0 comments on commit 5d110da

Please sign in to comment.