1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-13 06:37:57 +00:00

Upload symbols to symbol server if inputs.package is enabled

At the moment, we're not sending the regular artifacts to the artifacts bucket, but we might want to change that.
We're also not putting the symbols on the symbol server for non-packaged builds, and might want to change that, too.

The reason I didn't is that we don't have users running around using the GitHub Actions builds as dev builds.
This commit is contained in:
AnyOldName3 2024-12-18 00:20:59 +00:00
parent 79564860d5
commit 5e81e51d6f

View File

@ -192,6 +192,15 @@ jobs:
name: openmw-windows-${{ inputs.image }}-sym-store-${{ github.sha }}
path: ${{ github.workspace }}/SymStore/*
- name: Upload to symbol server
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: eu-west-3
if: ${{ env.AWS_ACCESS_KEY_ID != '' && env.AWS_SECRET_ACCESS_KEY != '' && inputs.package }}
working-directory: ${{ github.workspace }}/SymStore
run: aws --endpoint-url https://rgw.ctrl-c.liu.se s3 sync --size-only --exclude * --include *.ex_ --include *.dl_ --include *.pd_ . s3://openmw-sym
- name: Add install directory to PATH
shell: bash
run: echo '${{ github.workspace }}/install' >> ${GITHUB_PATH}