mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-13 14:11:48 +03:00
Replace go.rice with native go embedding (#331)
This commit is contained in:
parent
e3e3639443
commit
4fc52b62d2
10 changed files with 60 additions and 70 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