mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-27 02:24:40 +00:00 
			
		
		
		
	Update demo.yml
This commit is contained in:
		
							parent
							
								
									c8153164fa
								
							
						
					
					
						commit
						865c574afc
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										10
									
								
								.github/workflows/demo.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/demo.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -1,4 +1,4 @@ | ||||||
| name: Build for ARM32 | name: Release X-UI 32 | ||||||
| 
 | 
 | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|  | @ -8,15 +8,15 @@ on: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     runs-on: ubuntu-20.04  # Chọn phiên bản Ubuntu tương thích với ARM32-bit |     runs-on: ubuntu-20.04 | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout repository |       - name: Checkout repository | ||||||
|         uses: actions/checkout@v2.4.3 |         uses: actions/checkout@v2  # Sử dụng phiên bản mới nhất của actions/checkout | ||||||
| 
 | 
 | ||||||
|       - name: Setup Go |       - name: Setup Go | ||||||
|         uses: actions/setup-go@v2 |         uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.16'  # Chọn phiên bản Go tương thích |           go-version: '1.16' | ||||||
| 
 | 
 | ||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|         run: | |         run: | | ||||||
|  | @ -37,7 +37,7 @@ jobs: | ||||||
|           export CGO_ENABLED=1 |           export CGO_ENABLED=1 | ||||||
|           export GOOS=linux |           export GOOS=linux | ||||||
|           export GOARCH=arm |           export GOARCH=arm | ||||||
|           export GOARM=7  # Chọn phiên bản ARM (armv7a) |           export GOARM=7 | ||||||
|           export CC=arm-linux-gnueabi-gcc |           export CC=arm-linux-gnueabi-gcc | ||||||
|           go build -o xui-release -v main.go |           go build -o xui-release -v main.go | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 quydang
						quydang