@@ -134,6 +134,12 @@ jobs:
134
134
mkdir ${{ github.workspace }}/build/iconengines
135
135
cp plugins/iconengines/qsvgicon.dll ${{ github.workspace }}/build/iconengines
136
136
137
+ - name : Create symbol server directory structure
138
+ working-directory : ${{ github.workspace }}/build
139
+ run : |
140
+ ${{ github.workspace }}\CI\Store-Symbols.ps1
141
+ Move-Item ${{ github.workspace }}\build\SymStore ${{ github.workspace }}
142
+
137
143
- name : Move pdb files
138
144
run : |
139
145
robocopy build pdb *.pdb /MOVE
@@ -166,6 +172,7 @@ jobs:
166
172
job_url=$(gh run --repo ${{ github.repository }} view ${{ github.run_id }} --json jobs --jq '.jobs[] | select(.name == "windows-${{ inputs.image }}") | .url')
167
173
printf "Ref ${{ github.ref }}\nJob ${job_url}\nCommit ${{ github.sha }}\n" > install/CI-ID.txt
168
174
cp install/CI-ID.txt pdb/CI-ID.txt
175
+ cp install/CI-ID.txt SymStore/CI-ID.txt
169
176
170
177
- name : Store OpenMW archived pdb files
171
178
uses : actions/upload-artifact@v4
@@ -179,6 +186,21 @@ jobs:
179
186
name : openmw-windows-${{ inputs.image }}-${{ github.sha }}
180
187
path : ${{ github.workspace }}/install/*
181
188
189
+ - name : Store symbol server artifacts
190
+ uses : actions/upload-artifact@v4
191
+ with :
192
+ name : openmw-windows-${{ inputs.image }}-sym-store-${{ github.sha }}
193
+ path : ${{ github.workspace }}/SymStore/*
194
+
195
+ - name : Upload to symbol server
196
+ env :
197
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
198
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
199
+ AWS_DEFAULT_REGION : eu-west-3
200
+ if : ${{ env.AWS_ACCESS_KEY_ID != '' && env.AWS_SECRET_ACCESS_KEY != '' && inputs.package }}
201
+ working-directory : ${{ github.workspace }}/SymStore
202
+ run : aws --endpoint-url https://rgw.ctrl-c.liu.se s3 sync --size-only --exclude * --include *.ex_ --include *.dl_ --include *.pd_ . s3://openmw-sym
203
+
182
204
- name : Add install directory to PATH
183
205
shell : bash
184
206
run : echo '${{ github.workspace }}/install' >> ${GITHUB_PATH}
0 commit comments