Skip to content

Commit

Permalink
feat(pedm): add symbols in package
Browse files Browse the repository at this point in the history
  • Loading branch information
kbouchard-dev committed Aug 12, 2024
1 parent 28afc7e commit c80a8e3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,6 @@ jobs:
./ci/tlk.ps1 build -Product agent -Platform ${{ matrix.os }} -Architecture ${{ matrix.arch }} -CargoProfile ${{ needs.preflight.outputs.rust-profile }}
Get-ChildItem -Path "${{ steps.load-variables.outputs.staging-path }}" -Recurse -Include '*.pdb' | % {
Move-Item $_ "${{ steps.load-variables.outputs.symbols-path }}"
}
- name: Package
shell: pwsh
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
Expand All @@ -628,13 +624,6 @@ jobs:
with:
name: devolutions-agent-${{ matrix.os }}-${{ matrix.arch }}
path: ${{ steps.load-variables.outputs.staging-path }}

- name: Upload artifact symbols
if: matrix.os == 'windows'
uses: actions/upload-artifact@v4
with:
name: devolutions-agent-${{ matrix.os }}-${{ matrix.arch }}-symbols
path: ${{ steps.load-variables.outputs.symbols-path }}

devolutions-agent-merge:
name: devolutions agent merge artifacts
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,28 @@ 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
overwrite: true

jetsocat-merge:
name: Merge jetsocat artifacts
Expand Down

0 comments on commit c80a8e3

Please sign in to comment.