Delete .github/workflows/demo.yml

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

View file

@ -1,51 +0,0 @@
name: Release X-UI 32
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
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'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-linux-gnueabi
- name: Get dependencies
run: |
go get github.com/shirou/gopsutil/v3/cpu
go get github.com/shirou/gopsutil/v3/disk
go get github.com/shirou/gopsutil/v3/host
go get github.com/shirou/gopsutil/v3/load
go get github.com/shirou/gopsutil/v3/mem
go get github.com/shirou/gopsutil/v3/net
- name: Build
run: |
export CGO_ENABLED=1
export GOOS=linux
export GOARCH=arm
export GOARM=7
export CC=arm-linux-gnueabi-gcc
go build -o xui-release -v main.go
- name: Package
run: tar -zcvf x-ui-linux-arm.tar.gz xui-release
- name: Upload
uses: actions/upload-artifact@v2
with:
name: x-ui-linux-arm
path: x-ui-linux-arm.tar.gz