mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-31 23:36:18 +00:00
Delete .github/workflows/demo.yml
This commit is contained in:
parent
865c574afc
commit
481f34394a
1 changed files with 0 additions and 51 deletions
51
.github/workflows/demo.yml
vendored
51
.github/workflows/demo.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue