Skip to content

Commit 9800459

Browse files
authored
Use correct name for PDB file for pie installs. (#1745)
1 parent 4bd9a76 commit 9800459

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-windows-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,18 @@ jobs:
117117
echo FILENAME="php_mongodb-${{ inputs.version }}-${{ inputs.php }}-${{ inputs.ts }}-${{ needs.build.outputs.vs }}-${{ inputs.arch == 'x64' && 'x64_86' || inputs.arch }}" >> "$GITHUB_ENV"
118118

119119
# In this step, we:
120-
# - update the extension DLL file name to match the expectation of pie
120+
# - update the extension DLL and PDB file names to match the expectation of pie
121121
# - copy the signature file from the release asset directory to avoid directory issues in the archive
122122
# - rename the signature file to match the extension DLL file
123123
- name: "Copy signature file and use correct file names"
124124
run: |
125125
mv php_mongodb.dll ${{ env.FILENAME }}.dll
126+
mv php_mongodb.pdb ${{ env.FILENAME }}.pdb
126127
cp ${RELEASE_ASSETS}/php_mongodb.dll.sig ${{ env.FILENAME }}.dll.sig
127128
128129
- name: "Create and upload release asset"
129130
if: ${{ inputs.upload_release_asset }}
130131
run: |
131132
ARCHIVE=${{ env.FILENAME }}.zip
132-
zip ${ARCHIVE} ${{ env.FILENAME }}.dll ${{ env.FILENAME }}.dll.sig php_mongodb.pdb CREDITS CONTRIBUTING.md LICENSE README.md THIRD_PARTY_NOTICES
133+
zip ${ARCHIVE} ${{ env.FILENAME }}.dll ${{ env.FILENAME }}.dll.sig ${{ env.FILENAME }}.pdb CREDITS CONTRIBUTING.md LICENSE README.md THIRD_PARTY_NOTICES
133134
gh release upload ${{ inputs.version }} ${ARCHIVE}

0 commit comments

Comments
 (0)