mirror of
				https://github.com/simon987/ngx_http_js_challenge_module.git
				synced 2025-10-31 12:56:51 +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: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master  # Ensure this matches your main branch name | ||||||
|   pull_request: |   pull_request: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
| @ -32,16 +32,21 @@ jobs: | |||||||
|         chmod +x build.sh |         chmod +x build.sh | ||||||
|         ./build.sh |         ./build.sh | ||||||
| 
 | 
 | ||||||
|  |     - name: List modules | ||||||
|  |       run: | | ||||||
|  |         ls ${NGINX_PATH}/objs | ||||||
|  | 
 | ||||||
|     - name: Package module |     - name: Package module | ||||||
|       run: | |       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 |     - name: Upload Artifact | ||||||
|       uses: actions/upload-artifact@v3 |       uses: actions/upload-artifact@v3 | ||||||
|       with: |       with: | ||||||
|         name: ngx-module |         name: ngx_http_js_challenge_module | ||||||
|         path: ngx_module.tar.gz |         path: ngx_http_js_challenge_module.tar.gz | ||||||
| 
 | 
 | ||||||
|     - name: Check module output |     - name: Check module output | ||||||
|       run: | |       run: | | ||||||
|         ls ${NGINX_PATH}/objs/*.so |         ls ${NGINX_PATH}/objs/*.so | ||||||
|  | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user