mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-10 17:43:58 +03:00
Replace go.rice with native go embedding
This commit is contained in:
parent
aadf099f50
commit
5c3f8e84b0
10 changed files with 59 additions and 67 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -40,20 +40,12 @@ jobs:
|
|||
node-version: '14'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
# prepare assets for go rice
|
||||
# prepare assets
|
||||
- name: Prepare assets
|
||||
run: |
|
||||
chmod +x ./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
|
||||
- name: Build and make the releases
|
||||
uses: wangyoucao577/go-release-action@master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue