mirror of
				https://github.com/simon987/ngx_http_js_challenge_module.git
				synced 2025-10-31 04:46:52 +00:00 
			
		
		
		
	Fixing the module finding
This commit is contained in:
		
							parent
							
								
									89f1faf86d
								
							
						
					
					
						commit
						a0ee87984d
					
				
							
								
								
									
										13
									
								
								.github/workflows/nginx-module-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/nginx-module-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -3,7 +3,7 @@ name: Build NGINX Module | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|       - master  # Ensure this matches your main branch name | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - master | ||||
| @ -32,16 +32,21 @@ jobs: | ||||
|         chmod +x build.sh | ||||
|         ./build.sh | ||||
| 
 | ||||
|     - name: List modules | ||||
|       run: | | ||||
|         ls ${NGINX_PATH}/objs | ||||
| 
 | ||||
|     - name: Package module | ||||
|       run: | | ||||
|         tar -czvf ngx_module.tar.gz -C ${NGINX_PATH}/objs *.so | ||||
|         find ${NGINX_PATH}/objs -name "*.so" -exec tar -czvf ngx_http_js_challenge_module.tar.gz -C ${NGINX_PATH}/objs {} + | ||||
| 
 | ||||
|     - name: Upload Artifact | ||||
|       uses: actions/upload-artifact@v3 | ||||
|       with: | ||||
|         name: ngx-module | ||||
|         path: ngx_module.tar.gz | ||||
|         name: ngx_http_js_challenge_module | ||||
|         path: ngx_http_js_challenge_module.tar.gz | ||||
| 
 | ||||
|     - name: Check module output | ||||
|       run: | | ||||
|         ls ${NGINX_PATH}/objs/*.so | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user