mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +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:
		
							parent
							
								
									79564860d5
								
							
						
					
					
						commit
						5e81e51d6f
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -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}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue