mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Update build script
This commit is contained in:
parent
bf68ca13c8
commit
c8b1ca04ac
2 changed files with 10 additions and 8 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: "386"
|
||||
GOOS: linux
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-linux-amd64:
|
||||
name: release linux/amd64
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: amd64
|
||||
GOOS: linux
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-linux-arm:
|
||||
name: release linux/386
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: "arm"
|
||||
GOOS: linux
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-linux-arm64:
|
||||
name: release linux/amd64
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: arm64
|
||||
GOOS: linux
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-darwin-amd64:
|
||||
name: release darwin/amd64
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: amd64
|
||||
GOOS: darwin
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-windows-386:
|
||||
name: release windows/386
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: "386"
|
||||
GOOS: windows
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
release-windows-amd64:
|
||||
name: release windows/amd64
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -84,4 +84,4 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GOARCH: amd64
|
||||
GOOS: windows
|
||||
EXTRA_FILES: "LICENSE"
|
||||
CMD_PATH: "-a -o wg-ui"
|
||||
|
|
4
build.sh
4
build.sh
|
@ -8,7 +8,9 @@ mkdir -p $PROJECT_ROOT
|
|||
rmdir $PROJECT_ROOT
|
||||
ln -s $GITHUB_WORKSPACE $PROJECT_ROOT
|
||||
cd $PROJECT_ROOT
|
||||
go get -v ./...
|
||||
|
||||
sh ./prepare_assets.sh
|
||||
go mod download
|
||||
go get github.com/GeertJohan/go.rice/rice
|
||||
rice embed-go
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue