Update release.yml

This commit is contained in:
quydang 2023-09-25 08:44:04 +07:00 committed by GitHub
parent e6743ca7b1
commit c9f48c8992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,17 +21,12 @@ jobs:
with:
go-version: '1.21'
- name: Install dependencies for amd64
- name: Install dependencies for arm64
if: matrix.platform == 'arm64'
run: |
sudo apt-get update
sudo apt install gcc-aarch64-linux-gnu
- name: Install gopsutil
run: |
go get github.com/shirou/gopsutil/cpu
go get github.com/shirou/gopsutil/disk
- name: Build x-ui
run: |
export CGO_ENABLED=1