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.
master
AnyOldName3 1 week ago
parent 79564860d5
commit 5e81e51d6f

@ -192,6 +192,15 @@ jobs:
name: openmw-windows-${{ inputs.image }}-sym-store-${{ github.sha }} name: openmw-windows-${{ inputs.image }}-sym-store-${{ github.sha }}
path: ${{ github.workspace }}/SymStore/* 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 - name: Add install directory to PATH
shell: bash shell: bash
run: echo '${{ github.workspace }}/install' >> ${GITHUB_PATH} run: echo '${{ github.workspace }}/install' >> ${GITHUB_PATH}

Loading…
Cancel
Save