mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Add github workflow (#13)
This commit is contained in:
parent
29c7a43a23
commit
5d3ed6b741
1 changed files with 10 additions and 2 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -35,10 +35,18 @@ jobs:
|
||||||
chmod +x ./prepare_assets.sh
|
chmod +x ./prepare_assets.sh
|
||||||
./prepare_assets.sh
|
./prepare_assets.sh
|
||||||
|
|
||||||
|
# get go rice tool
|
||||||
|
- name: get go rice tool
|
||||||
|
run: go get github.com/GeertJohan/go.rice/rice
|
||||||
|
|
||||||
|
# run go rice embed
|
||||||
|
- name: run go rice embed
|
||||||
|
run: ${HOME}/go/bin/rice embed-go
|
||||||
|
|
||||||
# build and make the releases
|
# build and make the releases
|
||||||
- uses: wangyoucao577/go-release-action@master
|
- name: build and make the releases
|
||||||
|
uses: wangyoucao577/go-release-action@master
|
||||||
with:
|
with:
|
||||||
pre_command: "go get github.com/GeertJohan/go.rice/rice && ${GOPATH}/bin/rice embed-go"
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue