Replace go.rice with native go embedding

This commit is contained in:
ByteDream 2023-02-21 22:40:49 +01:00
parent aadf099f50
commit 5c3f8e84b0
10 changed files with 59 additions and 67 deletions

View file

@ -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