forked from asklyphe-public/asklyphe
		
	
		
			
	
	
		
			16 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 
								 | 
							
								inputs:
							 | 
						||
| 
								 | 
							
								  service-name:
							 | 
						||
| 
								 | 
							
								    description: 'name of the service to build and upload'
							 | 
						||
| 
								 | 
							
								    required: true
							 | 
						||
| 
								 | 
							
								runs:
							 | 
						||
| 
								 | 
							
								  using: "composite"
							 | 
						||
| 
								 | 
							
								  steps:
							 | 
						||
| 
								 | 
							
								    - run: |
							 | 
						||
| 
								 | 
							
								        mkdir -pv artifacts
							 | 
						||
| 
								 | 
							
								        cargo build --release --bin ${{ inputs.service-name }}
							 | 
						||
| 
								 | 
							
								        mv target/release/${{ inputs.service-name }} artifacts/
							 | 
						||
| 
								 | 
							
								      shell: bash
							 | 
						||
| 
								 | 
							
								    - uses: actions/upload-artifact@v3
							 | 
						||
| 
								 | 
							
								      with:
							 | 
						||
| 
								 | 
							
								        name: "${{ inputs.service-name }}"
							 | 
						||
| 
								 | 
							
								        path: artifacts/
							 |