Update demo.yml

This commit is contained in:
quydang 2023-09-26 19:44:25 +07:00 committed by GitHub
parent c8153164fa
commit 865c574afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: Build for ARM32
name: Release X-UI 32
on:
push:
@ -8,15 +8,15 @@ on:
jobs:
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:
- 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
uses: actions/setup-go@v2
with:
go-version: '1.16' # Chọn phiên bản Go tương thích
go-version: '1.16'
- name: Install dependencies
run: |
@ -37,7 +37,7 @@ jobs:
export CGO_ENABLED=1
export GOOS=linux
export GOARCH=arm
export GOARM=7 # Chọn phiên bản ARM (armv7a)
export GOARM=7
export CC=arm-linux-gnueabi-gcc
go build -o xui-release -v main.go